GNU bug report logs - #11426
Building static libraries with LT_INIT([disable-static])

Previous Next

Package: libtool;

Reported by: Дилян Палаузов <dilyan.palauzov <at> aegee.org>

Date: Mon, 7 May 2012 10:15:01 UTC

Severity: normal

To reply to this bug, email your comments to 11426 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#11426; Package libtool. (Mon, 07 May 2012 10:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Дилян Палаузов <dilyan.palauzov <at> aegee.org>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Mon, 07 May 2012 10:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Дилян Палаузов
	<dilyan.palauzov <at> aegee.org>
To: bug-libtool <at> gnu.org
Subject: Building static libraries with LT_INIT([disable-static])
Date: Mon, 07 May 2012 12:11:44 +0200
Hello,

the documentation of libtool 2.4.2 states, that libtool can build both 
shared and static libraries, only static or only shared libraries. 
Moreover it states, that on some platforms only static libraries are 
supported.

I want to build a library, that is only-shared on platforms, where 
shared libraries are supported, and static otherwise.

To what I understood, using LT_INIT([disable-static]) on platforms that 
support only static libraries, neither static libraries will be built 
(caused by disable-static), nor shared (cause the platform does not 
support shared libraries).  So at the end no form of library will be built.

Is it possible to fix option disable-static to build static libraries on 
platforms, where only static libraries are supported (or, if this is 
currently the case, update the documentation of libtool to reflect this)?

Kind regards
  Дилян




This bug report was last modified 13 years and 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.