Autoconf fixes for linking on HPUX
Warren_Baird/CSI at cimmetry.com
Warren_Baird/CSI at cimmetry.com
Mon Oct 18 15:16:54 CDT 2004
Changelog:
- added -fPIC to the LDDLLFLAGS line for HPUX; winegcc needs to
pass -fPIC to the link line to keep the hp linker happy
- set DLLEXT to .sl on hpux
Details:
I took the somewhat lazy route here of just adding -fPIC
explicitly if we're using hpux style link arguments, rather than adding a
new test to see if we need to include -fPIC on the winegcc line. My
rationalle is that if we add support for another system that also needs
-fPIC, we're almost certainly going to have to modify this section of the
configure.ac, so I don't think it'd save much effort to add a new test.
-------------- next part --------------
--- patched/wine-20040914/configure.ac 2004-10-18 15:59:34.000000000 -0400
+++ wine-20040914/configure.ac 2004-10-18 16:01:50.000000000 -0400
@@ -955,7 +955,8 @@
if test "$ac_cv_c_dll_hpux" = "yes"
then
LIBEXT="sl"
- LDDLLFLAGS="-shared"
+ DLLEXT=".sl"
+ LDDLLFLAGS="-shared -fPIC"
LDSHARED="\$(CC) -shared"
fi
fi
More information about the wine-patches
mailing list