Hi,

there is the following downstream Fedora bugzilla [1] requesting
the drivers to be build with the distribution LDFLAGS.

I used the attached hack to fix the problem, but I think it
should be also addressed upstream (probably more clean way)

thanks & regards

Jaroslav

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1543490
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])
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Reply via email to