blob: c17ee3c4d1fa1ddd8f01f70c26cfa97e74f0e078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From a3e6453d6595bc1abb2633a9c3c43763558ede37 Mon Sep 17 00:00:00 2001
From: Matt Coffin <mcoffin13@gmail.com>
Date: Fri, 3 Apr 2020 11:44:55 -0600
Subject: [PATCH 2/2] ffbwrap: Use global install paths for arch
---
bin/ffbwrap | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/bin/ffbwrap b/bin/ffbwrap
index d411603..8b08941 100755
--- a/bin/ffbwrap
+++ b/bin/ffbwrap
@@ -29,16 +29,7 @@ eval set -- "$OPTIONS"
unset OPTIONS
-CURRENT_DIR=$(CDPATH= cd -- "$(dirname -- $(readlink -f "$0"))" && pwd)
-
-if [ -f "${CURRENT_DIR}/../build/libffbwrapper-i386.so" ]
-then
- LIBDIR="${CURRENT_DIR}/../build"
-else
- LIBDIR="/usr/local/lib"
-fi
-
-LD_PRELOAD="${LIBDIR}/libffbwrapper-x86_64.so ${LIBDIR}/libffbwrapper-i386.so ${LD_PRELOAD}"
+LD_PRELOAD="/usr/lib/libffbwrapper.so /usr/lib32/libffbwrapper.so ${LD_PRELOAD}"
FFBTOOLS_THROTTLING_TIME=3
--
2.28.0
|