From: Ralf Wildenhues Date: Sun, 18 Mar 2007 18:45:19 +0000 (+0000) Subject: * mdemo/Makefile.am (libmlib_la_LDFLAGS): Add X-Git-Tag: release-1-5-24~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f384249011ef969729cf42590a3fbeb70988a6ef;p=thirdparty%2Flibtool.git * mdemo/Makefile.am (libmlib_la_LDFLAGS): Add `-export-symbols-regex ".*"' because the convenience libltdl uses export markers and thus turns off autoexport on w32. Fixes test failures for Cygwin and MinGW. Bug analysis by Charles Wilson. --- diff --git a/ChangeLog b/ChangeLog index c511fea62..a2f21b268 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2007-03-18 Ralf Wildenhues + * mdemo/Makefile.am (libmlib_la_LDFLAGS): Add + `-export-symbols-regex ".*"' because the convenience libltdl + uses export markers and thus turns off autoexport on w32. Fixes + test failures for Cygwin and MinGW. + Bug analysis by Charles Wilson. + * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) (AC_DEPLIBS_CHECK_METHOD, _LT_AC_LANG_CXX_CONFIG) (AC_LIBTOOL_POSTDEP_PREDEP, AC_LIBTOOL_PROG_COMPILER_PIC) diff --git a/mdemo/Makefile.am b/mdemo/Makefile.am index 1904f35a6..bf494cb71 100644 --- a/mdemo/Makefile.am +++ b/mdemo/Makefile.am @@ -19,9 +19,12 @@ libfoo2_la_LDFLAGS = -no-undefined -module -export-symbols-regex "libfoo2.*" libsub_la_SOURCES = sub.c libsub_la_LDFLAGS = -no-undefined +## Use -export-symbols-regex here explicitly because libltdl marks +## its exported symbols, and we use libltdl as a convenience archive. +## Thus, on w32, auto-exporting is turned off. libmlib_la_SOURCES = mlib.c libmlib_la_LIBADD = @LIBLTDL@ "-dlopen" foo1.la "-dlopen" libfoo2.la -libmlib_la_LDFLAGS = -no-undefined +libmlib_la_LDFLAGS = -no-undefined -export-symbols-regex ".*" libmlib_la_DEPENDENCIES = @LIBLTDL@ libsub.la foo1.la libfoo2.la noinst_HEADERS = foo.h