[PATCH] RESUBMIT: configure: also use LDFLAGS for DLL builds

Marcus Meissner marcus at jet.franken.de
Tue Oct 20 14:00:21 CDT 2009


Hi,

While one usually does not pass in LDFLAGS to dll building, one
probably should be able to.

(Currently using this to pass in the -flto flags.)

(resubmit)

Ciao, Marcus
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5210c35..18d19ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -680,7 +680,7 @@ case $host_os in
     if test "$ac_cv_c_dll_gnuelf" = "yes"
     then
       LDSHARED="\$(CC) -shared"
-      LDDLLFLAGS="-shared -Wl,-Bsymbolic"
+      LDDLLFLAGS="$LDFLAGS -shared -Wl,-Bsymbolic"
       WINE_TRY_CFLAGS([-fPIC -shared -Wl,-soname,confest.so.1],
                       [LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"],
                       [WINE_TRY_CFLAGS([-fPIC -shared -Wl,-h,confest.so.1],
-- 
1.5.6



More information about the wine-patches mailing list