[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Broken build with --disable-shared

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2001-04-01 23:32:47 CEST

> This is either a huge annoyance in libtool, or we're just using it
> incorrectly.

What's the link line (both the libtool command and the ld or gcc
command which it prints) which is exhibiting the improper behavior? I
just ran a little test, and "gcc -Lfoo -Lbar test.c -la" seems to
prefer a static "liba" library in foo to a shared "liba" library in
bar. So even if gcc is putting /usr/local/lib in the standard library
path, it should still pick up the static libraries in preference to
the shared ones unless libtool is doing something weird.
Received on Sat Oct 21 14:36:27 2006

This is an archived mail posted to the Subversion Dev mailing list.