[PATCH] wine: pass $LDFLAGS also to $LDDLLFLAGS
Marcus Meissner
marcus at jet.franken.de
Sat Jan 1 04:42:55 CST 2011
Hi,
This is helpful if you need to pass in special LDFLAGS, like -flto.
Ciao, Marcus
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index eb166ee..9b41a9f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -768,7 +768,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.7.1
More information about the wine-patches
mailing list