summarylogtreecommitdiffstats
path: root/remove-dangerous-rpath.patch
blob: 897aca50598c1e1c21db369f13e2739dd7e48c62 (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
@@ -14111,7 +14111,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_builddir}"'/libbase58/.libs -Wl,-rpath,\$$ORIGIN/libbase58/.libs'"$origin_LDFLAGS"'  -lbase58'
+	libbase58_LIBS='-L'"${ac_abs_top_builddir}"'/libbase58/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"'  -lbase58'
 	libbase58_SUBDIRS=libbase58
 	libbase58_EXTRADEPS=libbase58_directory
 	BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES
@@ -14380,7 +14380,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_builddir}"'/libblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs'"$origin_LDFLAGS"'  -lblkmaker_jansson-0.1 -lblkmaker-0.1'
+	libblkmaker_LIBS='-L'"${ac_abs_top_builddir}"'/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