summaryrefslogtreecommitdiff
path: root/libre/bfgminer/remove-dangerous-rpath.patch
blob: 6152d23c33cf5b48612c9300c291ff37f3e9cb3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Naur bfgminer-4.8.0-orig/configure bfgminer-4.8.0/configure
--- bfgminer-4.8.0-orig/configure	2014-10-04 20:54:28.717071865 -0400
+++ bfgminer-4.8.0/configure	2014-10-04 20:55:50.140274445 -0400
@@ -12201,7 +12201,7 @@
 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
 	libbase58_CFLAGS='-I'"${ac_abs_top_srcdir}"'/libbase58'
-	libbase58_LIBS='-L'"${ac_abs_top_srcdir}"'/libbase58/.libs -Wl,-rpath,\$$ORIGIN/libbase58/.libs'"$origin_LDFLAGS"'  -lbase58'
+	libbase58_LIBS='-L'"${ac_abs_top_srcdir}"'/libbase58/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"'  -lbase58'
 	libbase58_SUBDIRS=libbase58
 	libbase58_EXTRADEPS=libbase58_directory
 	BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES
@@ -12470,7 +12470,7 @@
 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
 	libblkmaker_CFLAGS='-I'"${ac_abs_top_srcdir}"'/libblkmaker'
-	libblkmaker_LIBS='-L'"${ac_abs_top_srcdir}"'/libblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs'"$origin_LDFLAGS"'  -lblkmaker_jansson-0.1 -lblkmaker-0.1'
+	libblkmaker_LIBS='-L'"${ac_abs_top_srcdir}"'/libblkmaker/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"'  -lblkmaker_jansson-0.1 -lblkmaker-0.1'
 	libblkmaker_SUBDIRS=libblkmaker
 	libblkmaker_EXTRADEPS=libblkmaker_directory
 	BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES