summaryrefslogtreecommitdiff
path: root/packaging/qemu-accel.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/qemu-accel.spec.in')
-rw-r--r--packaging/qemu-accel.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in
index 7b27e7b..1824470 100644
--- a/packaging/qemu-accel.spec.in
+++ b/packaging/qemu-accel.spec.in
@@ -231,7 +231,7 @@ function patch_binary {
mkdir -p ${outfile%/*}
cp -aL $binary $outfile
[ "$binary" == "$rtld" ] && return
- patchelf --set-rpath "%{emul_path}/%{_libdir}" $outfile
+ patchelf --set-rpath "%{emul_path}%{_libdir}" $outfile
# not all binaries have an .interp section
if patchelf --print-interpreter $outfile 1>/dev/null 2>/dev/null; then
patchelf --set-interpreter %{emul_path}$rtld $outfile