]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Use correct export_dynamic_flag_spec for PE-COFF $hosts
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Sun, 29 Mar 2009 23:38:58 +0000 (19:38 -0400)
committerCharles Wilson <libtool@cwilson.fastmail.fm>
Mon, 30 Mar 2009 01:33:55 +0000 (21:33 -0400)
* 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 <libtool@cwilson.fastmail.fm>
ChangeLog
libltdl/m4/libtool.m4

index bd09879b2cb2dd150eddd8c6b6976406465e52f0..cab76a1f5b4b0fb14fe42c84c762f2e00a3dc650 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-03-29  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>  (tiny change)
+           Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+       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  <libtool@cwilson.fastmail.fm>
 
        Improve compatibility with older automake
index 477f6e34f875f77f5b115ce7bd59dde261dc6502..15612c0c88b96f47cdaabd5c413381f7c8760379 100644 (file)
@@ -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