[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Charles Wilson
Subject: [PATCH] [CXX] Use correct export_dynamic_flag_spec for PE-COFF $hosts
Date: Tue, 30 Jun 2009 08:26:20 -0400

* 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).

Signed-off-by: Charles Wilson <...>
Originally posted by Yaakov Selkowitz on the cygwin list. Seems
obvious to me, especially given 5f2bbb494a2753afb2878c399cfd8316b7403a5b.

OK to push?


 libltdl/m4/libtool.m4 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index 0777d4d..f45a630 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -5632,6 +5632,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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]