commit efddb5e20151322b6c8d7b2bd2fe35a6abeb32bc
Author: Uwe Klotz <uklotz(a)mixxx.org>
Date: Mon Sep 24 12:48:33 2018 +0200
Fix RPATH issues
mixxx.spec | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/mixxx.spec b/mixxx.spec
index 07882ad..f9b567a 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -31,6 +31,7 @@ BuildRequires: protobuf-compiler
BuildRequires: python2-scons
# Build Requirements
+BuildRequires: chrpath
BuildRequires: faad2-devel
BuildRequires: ffmpeg-devel
BuildRequires: fftw-devel
@@ -140,6 +141,12 @@ appstream-util \
--nonet \
$RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
+# Workaround: Manually strip RPATH from installed binaries
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/%{name}
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/vamp/libmixxxminimal.so
+chrpath --delete
$RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/soundsource/libsoundsourcem4a.so
+chrpath --delete
$RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/soundsource/libsoundsourcewv.so
+
# Remove docdir
rm -rf $RPM_BUILD_ROOT%{_docdir}
Show replies by date