FreeBSD: Add linker option --allow-shlib-undefined
Patrik Stridvall
ps at leissner.se
Mon Oct 7 13:40:17 CDT 2002
*** freebsd
* configure.ac:
Added linker option --allow-shlib-undefined to
suppress warnings on FreeBSD.
Index: wine/configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.81
diff -u -u -r1.81 configure.ac
--- wine/configure.ac 2 Oct 2002 19:58:27 -0000 1.81
+++ wine/configure.ac 7 Oct 2002 18:32:30 -0000
@@ -790,12 +790,12 @@
DLLFLAGS="-fPIC"
DLLEXT=".so"
AC_CACHE_CHECK([whether we can build a GNU style ELF dll],
ac_cv_c_dll_gnuelf,
- [WINE_TRY_CFLAGS([-fPIC -shared
-Wl,-soname,conftest.so.1.0,-Bsymbolic],
+ [WINE_TRY_CFLAGS([-fPIC -shared
-Wl,-soname,conftest.so.1.0,-Bsymbolic,--allow-shlib-undefined],
ac_cv_c_dll_gnuelf="yes",ac_cv_c_dll_gnuelf="no")])
if test "$ac_cv_c_dll_gnuelf" = "yes"
then
LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
- LDDLLFLAGS="-Wl,-Bsymbolic"
+ LDDLLFLAGS="-Wl,-Bsymbolic,--allow-shlib-undefined"
else
AC_CACHE_CHECK(whether we can build a UnixWare (Solaris) dll,
ac_cv_c_dll_unixware,
[WINE_TRY_CFLAGS([-fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic],
More information about the wine-patches
mailing list