[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: Ben Collins-Sussman <sussman_at_newton.ch.collab.net>
Date: 2001-04-02 01:58:31 CEST

Greg Hudson <ghudson@MIT.EDU> writes:

> > 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.

I've already removed all the shared libs from my system. When I get a
few minutes, I'll go through the procedure again and try to reproduce
this bug. I'm sure I'm not crazy, though... Greg Stein witnessed
it. :)
Received on Sat Oct 21 14:36:27 2006

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