[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Some libraries are not found without LD_LIBRARY_PATH mangling
From: Thiago Macieira <thiago () kde ! org>
Date: 2007-10-30 9:53:11
Message-ID: 200710301053.12067.thiago () kde ! org
[Download RAW message or body]
Em Tuesday 30 October 2007 10:22:59 Alexander Neundorf escreveu:
> Hmmm.
> Currently cmake generates -Wl,-rpath arguments which set the RPATH (and I
> think the RUNPATH too). If we simply add -Wl,--enable-new-dtags to the link
> flags, will this magically change the meaning of -Wl,-rpath to set the
> RUNPATH only ?
No.
CMake generates -Wl,-rpath, which sets RPATH but not RUNPATH.
If we add -Wl,--enable-new-dtags, then the very same -Wl,--rpath flag will set
both RPATH and RUNPATH to the same value.
Locally, I modified my gcc specs file to add the --enable-new-dtags flag
always to the linker, so I don't have to worry about CMake or qmake support.
(I routinely change my LD_LIBRARY_PATH to load different libraries in order
to test regressions)
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic