Re: Advice on rpath

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

 



Linus Walleij wrote:
On Wed, 11 Oct 2006, Patrice Dumas wrote:

It seems to be allready packaged (chrpath-0.13-1.1.fc6).

OK then problem solved; when %configure --disable-rpath doesn't do it, add BR chrpath and kick it out with brute force chrpath --delete foo on the culprit.


Why, all that is need is adding the following 2 lines to the spec after %configure, leading to:
%configure
# Don't use rpath!
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

Now that may not be pretty but IMHO it sure beats doing binary editing after building the binary.

Regards,

Hans


--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux