libtool
[Top][All Lists]
Advanced

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

Re: libtool not generating / installing .so, even tho config says it sho


From: Scott Robert Ladd
Subject: Re: libtool not generating / installing .so, even tho config says it should
Date: Wed, 6 Jul 2011 07:23:27 -0400

Thank you ever so much. In past editions, the compiles included the default CFLAGS followed by the ones I specified.

..Scott

On Wed, Jul 6, 2011 at 2:26 AM, Ralf Corsepius <address@hidden> wrote:
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"
then
   CFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -O2 -g0 -march=native"
else
   CFLAGS="-std=gnu99 -pedantic -Wall -Wno-format -lpthread -lrt -g -O2 -static"
fi


Besides this, this part overrides CFLAGS with hard-coded compiler- and system-specific CFLAGS - Not a good idea.

Ralf

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool


reply via email to

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