[libuninum] remove rpath for good

terjeros terjeros at fedoraproject.org
Tue Oct 25 16:44:45 UTC 2011


commit cb78dcc4f07dd55eadcc46be9de234a7c4f81368
Author: Michael J Gruber <mjg at fedoraproject.org>
Date:   Tue Oct 25 16:26:19 2011 +0200

    remove rpath for good

 libuninum.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libuninum.spec b/libuninum.spec
index d94e574..2f0e738 100644
--- a/libuninum.spec
+++ b/libuninum.spec
@@ -40,6 +40,8 @@ using %{name}, you will need to install %{name}-devel.
 
 %build
 %configure --disable-static --disable-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
 %{__make} %{?_smp_mflags}
 
 %install


More information about the scm-commits mailing list