|
From: | Ralf Corsepius |
Subject: | Re: libtool not generating / installing .so, even tho config says it should |
Date: | Wed, 06 Jul 2011 08:26:55 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 |
On 07/06/2011 01:54 AM, ScottLadd wrote:
I've been writing configure.ac scripts for a long time, and now, unexpectedly, on a new Kubuntu 11.04 installation and on a Fedora 15 install, libtool not longer generates and installs shared objects. Same scripts I've used before, different behavior.
I don't know if this had ever worked, but the culprit seems to be this part of your configure.ac:
if test "x$gccopt" = "xyes" thenCFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -O2 -g0 -march=native"
elseCFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -g -O2 -static"
fiBesides this, this part overrides CFLAGS with hard-coded compiler- and system-specific CFLAGS - Not a good idea.
Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |