brltty/brltty-5.6-libs-add-ldflags.patch
Jaroslav Škarvada 86624e877d Build with distro's LDFLAGS
Related: rhbz#1543490
2018-04-24 17:46:19 +02:00

14 lines
570 B
Diff

diff --git a/configure.ac b/configure.ac
index 7d93d8b..d016148 100644
--- a/configure.ac
+++ b/configure.ac
@@ -459,7 +459,7 @@ in
esac
if test "${GCC}" = "yes"
then
- brltty_cv_prog_make_object_shared="\$(CC) ${brltty_mkshr_gcc_make=-shared} BRLTTY_OPTIONS_LD2CC([${brltty_mkshr_ld_options}]) -o"
+ brltty_cv_prog_make_object_shared="\$(CC) ${brltty_mkshr_gcc_make=-shared} ${LDFLAGS_DYNAMIC} BRLTTY_OPTIONS_LD2CC([${brltty_mkshr_ld_options}]) -o"
else
brltty_cv_prog_make_object_shared="\$(LD) ${brltty_mkshr_ld_make} ${brltty_mkshr_ld_options} -o"
fi])