libtool-patches
[Top][All Lists]
Advanced

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

Re: OpenBSD: use RPATH instead of absolute NEEDED names


From: Peter O'Gorman
Subject: Re: OpenBSD: use RPATH instead of absolute NEEDED names
Date: Sun, 17 Sep 2006 01:01:56 +0900


On Sep 16, 2006, at 7:02 AM, Ralf Wildenhues wrote:

On OpenBSD, this:
  gcc -o prog /path/to/libfoo.so prog.o

hardcodes `/path/to/libfoo.so' into DT_NEEDED of `prog'; it breaks
the second DESTDIR test of CVS Libtool; and it means we should set
hardcode_direct_absolute to yes, so -Wl,-rpath is instead used for
installed libraries.  Finally fixes the issue discussed in [1].

With this, the HEAD testsuite passes completely on OpenBSD 3.9,
except for the issue discussed in [2], which I intend to fix by
rewriting the test.

OK to install?

Yes. Thank you.

Peter




reply via email to

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