From 30fa9b960c9491b79f168f599e91cebe55824faf Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Sun, 2 Mar 2008 14:58:22 +0000 Subject: [PATCH] Fixed Spec in devel. Modified Files: autogen.spec --- autogen.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autogen.spec b/autogen.spec index 99a91bc..438a070 100644 --- a/autogen.spec +++ b/autogen.spec @@ -73,9 +73,11 @@ export LDFLAGS="-lguile" # Static libraries are needed to run test-suite. %configure -# Omit unused direct shared library dependencies. +# Fix Libtool to remove rpaths. rm -f ./libtool cp %{_bindir}/libtool . + +# Omit unused direct shared library dependencies. sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' ./libtool make %{?_smp_mflags}