[flac] use our libtool to avoid problems with RPATH
Miroslav Lichvar
mlichvar at fedoraproject.org
Tue Mar 5 09:40:41 UTC 2013
commit fe7a01f5c7aa4cfb28f7d3acab1decf9b78ad116
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date: Tue Mar 5 10:39:14 2013 +0100
use our libtool to avoid problems with RPATH
flac.spec | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/flac.spec b/flac.spec
index 277a304..bf68d54 100644
--- a/flac.spec
+++ b/flac.spec
@@ -56,6 +56,9 @@ will use the Free Lossless Audio Codec.
%setup -q -n %{name}-%{version}pre1
%build
+# use our libtool to avoid problems with RPATH
+./autogen.sh -V
+
# -funroll-loops makes encoding about 10% faster
export CFLAGS="%{optflags} -funroll-loops"
%configure \
@@ -63,10 +66,6 @@ export CFLAGS="%{optflags} -funroll-loops"
--disable-silent-rules \
--disable-thorough-tests
-# remove 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