From 04a6e0d84bd893fd85789938b3705aa31db0e263 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Wed, 13 Aug 2014 12:45:47 -0500 Subject: [PATCH] rpath: hack on libtool --- kdelibs3.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kdelibs3.spec b/kdelibs3.spec index 52689d0..2477cae 100644 --- a/kdelibs3.spec +++ b/kdelibs3.spec @@ -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