rpath: hack on libtool
This commit is contained in:
parent
3b65d25203
commit
04a6e0d84b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue