[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-tech
Subject:    stuff to do: fix libtool
From:       Marc Espie <espie () nerim ! net>
Date:       2004-12-17 19:31:08
Message-ID: 20041217193107.GA23568 () tetto ! gentiane ! org
[Download RAW message or body]

The libtool(s) we have in the ports tree don't do things right for us.

If (say) you use gcc -L/usr/local/lib, and you link with
.libs/libfoo.la, then libtool will arrange stuff so that you get

gcc -L/usr/local/lib -L.libs -lfoo


The issue is that, if there is a libfoo under /usr/local/lib, you link
with THAT one instead of the one you've just built.

It should be possible to teach libtool that, when it sees .libs/libfoo.la
on a link line, the -L.libs option should migrate up in front of
-L/usr/local/lib.

I know I can do it, I just don't have the time to dive into libtool again,
and frankly, I'm a bit tired.

If someone feels like tackling a huge pile of rotting shell, find out what
needs to be changed, and produce a small patch, that would be VERY nice.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic