* 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). --- origsrc/libtool-2.2.7a/libltdl/m4/libtool.m4 2009-06-18 11:51:29.937982900 -0500 +++ src/libtool-2.2.7a/libltdl/m4/libtool.m4 2009-06-22 21:14:07.585817500 -0500 @@ -5631,6 +5631,7 @@ if test "$_lt_caught_CXX_error" != yes; # _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