wine-pthread hangs -- a work around
Alexandre Julliard
julliard at winehq.org
Sun Nov 16 14:42:52 CST 2003
Jeremy Shaw <jeremy.shaw at lindows.com> writes:
> Hopefully someone who understands linker magic better than me can come
> up with a better fix...
I think adding --export-dynamic to the link should be
enough. Something like this should do the trick:
Index: configure.ac
===================================================================
RCS file: /opt/cvs-commit/wine/configure.ac,v
retrieving revision 1.205
diff -u -p -r1.205 configure.ac
--- configure.ac 14 Nov 2003 21:12:03 -0000 1.205
+++ configure.ac 16 Nov 2003 20:40:57 -0000
@@ -891,6 +891,13 @@ case $host_os in
then
AC_SUBST(LDEXECFLAGS,["-Wl,--section-start,.interp=0x3c000100"])
fi
+ AC_CACHE_CHECK([whether the linker accepts --export-dynamic], ac_cv_c_export_dynamic,
+ [WINE_TRY_CFLAGS([-fPIC -Wl,--export-dynamic],
+ ac_cv_c_export_dynamic="yes",ac_cv_c_export_dynamic="no")])
+ if test "$ac_cv_c_export_dynamic" = "yes"
+ then
+ LDEXECFLAGS="$LDEXECFLAGS -Wl,--export-dynamic"
+ fi
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],
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list