delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/22/22:29:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A403DEE.60006@users.sourceforge.net>
Date: Mon, 22 Jun 2009 21:29:02 -0500
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] [1.7] Updated: {libtool/libltdl7}-2.2.7a-13
References: <announce DOT 20090620035712 DOT 15E0F173AE AT heartbeat1 DOT messagingengine DOT com>
In-Reply-To: <announce.20090620035712.15E0F173AE@heartbeat1.messagingengine.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--------------000706070001020604070500
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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



--------------000706070001020604070500
Content-Type: text/plain;
 name="2.2.7a-cxx-export-dynamic.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="2.2.7a-cxx-export-dynamic.patch"


	* 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


--------------000706070001020604070500
Content-Type: text/plain; charset=us-ascii

--
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
--------------000706070001020604070500--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019