--nextPart4727270.NL4CauMubt Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 li= nk > 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=20 both RPATH and RUNPATH to the same value. Locally, I modified my gcc specs file to add the --enable-new-dtags flag=20 always to the linker, so I don't have to worry about CMake or qmake support= =2E=20 (I routinely change my LD_LIBRARY_PATH to load different libraries in order= =20 to test regressions) =2D-=20 =A0 Thiago Macieira =A0- =A0thiago (AT) macieira.info - thiago (AT) kde.org =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint: =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358 --nextPart4727270.NL4CauMubt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHJv8IM/XwBW70U1gRAtncAJkBJmv0EYyhofjRRHomMUq29z2sxwCbBEnZ C2+rzT1FMbqEV2ibJV6pSqQ= =GIs5 -----END PGP SIGNATURE----- --nextPart4727270.NL4CauMubt--