On 19/06/2009 22:55, Charles Wilson wrote:
* Include two new patches from Yaakov Selkowitz
- Ensure LT_PATH_LD works when called before LT_INIT
- [cygwin|mingw] Create UAC manifest files.
Thanks!
But regarding my previous export-all-symbols patch, I discovered today
that I only did half the job; I fixed things for CC but not for CXX.
Patch attached.
Yaakov
* 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
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple