rpath: hack on libtool

This commit is contained in:
Rex Dieter 2014-08-13 12:45:47 -05:00
parent 3b65d25203
commit 04a6e0d84b
1 changed files with 3 additions and 3 deletions

View File

@ -317,9 +317,9 @@ export DO_NOT_COMPILE="libkscreensaver"
--with-openexr \
--with-xinerama
# kill rpath harder, https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Removing_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
# kill rpath harder, inspired by https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Removing_Rpath
# other more standard variants didnt work or caused other problems
sed -i -e 's|"/lib /usr/lib|"/%{_lib} %{_libdir}|' libtool
%if 0%{?apidocs}
doxygen -s -u admin/Doxyfile.global