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

Full log


View this message in rfc822 format

From: Дилян Палаузов
	<dilyan.palauzov <at> aegee.org>
To: 11426 <at> debbugs.gnu.org
Subject: bug#11426: 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.