[CXX] Use correct export_dynamic_flag_spec for PE-COFF $hosts

* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [cygwin*|mingw*|pw32*|cegcc*]:
Define export_dynamic_flag_spec as -Wl,--export-all-symbols here as well
(see commit 5f2bbb494a).

Signed-off-by: Charles Wilson <libtool@cwilson.fastmail.fm>
This commit is contained in:
Yaakov Selkowitz 2009-06-30 08:26:20 -04:00 committed by Charles Wilson
parent f0f99955cb
commit 00558363da
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2009-07-01 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> (tiny change)
Charles Wilson <libtool@cwilson.fastmail.fm>
[CXX] Use correct export_dynamic_flag_spec for PE-COFF $hosts
* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG) [cygwin*|mingw*|pw32*|cegcc*]:
Define export_dynamic_flag_spec as -Wl,--export-all-symbols here as well
(see commit 5f2bbb494a2753afb2878c399cfd8316b7403a5b).
2009-06-29 Charles Wilson <libtool@cwilson.fastmail.fm>
[mingw] Improve sys_lib_search_path_spec detection.

View File

@ -5628,6 +5628,7 @@ if test "$_lt_caught_CXX_error" != yes; then
# _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