From: Yaakov Selkowitz Date: Sun, 29 Mar 2009 23:38:58 +0000 (-0400) Subject: Use correct export_dynamic_flag_spec for PE-COFF $hosts X-Git-Tag: v2.2.7b~100 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f2bbb494a2753afb2878c399cfd8316b7403a5b;p=thirdparty%2Flibtool.git Use correct export_dynamic_flag_spec for PE-COFF $hosts * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin*|mingw*|pw32*|cegcc*]: Define export_dynamic_flag_spec as -Wl,--export-all-symbols, as required by GNU ld for PE-COFF. Signed-off-by: Charles Wilson --- diff --git a/ChangeLog b/ChangeLog index bd09879b2..cab76a1f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-03-29 Yaakov Selkowitz (tiny change) + Charles Wilson + + Use correct export_dynamic_flag_spec for PE-COFF $hosts + * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) + [cygwin*|mingw*|pw32*|cegcc*]: Define export_dynamic_flag_spec + as -Wl,--export-all-symbols, as required by GNU ld for PE-COFF. + 2009-03-29 Charles Wilson Improve compatibility with older automake diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 477f6e34f..15612c0c8 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -4275,6 +4275,7 @@ _LT_EOF # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes