summaryrefslogtreecommitdiff
path: root/libre/bfgminer-libre/remove-dangerous-rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/bfgminer-libre/remove-dangerous-rpath.patch')
-rw-r--r--libre/bfgminer-libre/remove-dangerous-rpath.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/bfgminer-libre/remove-dangerous-rpath.patch b/libre/bfgminer-libre/remove-dangerous-rpath.patch
new file mode 100644
index 000000000..abd815141
--- /dev/null
+++ b/libre/bfgminer-libre/remove-dangerous-rpath.patch
@@ -0,0 +1,11 @@
+--- configure.ac.orig
++++ configure.ac
+@@ -514,7 +514,7 @@
+ ])
+ else
+ libblkmaker_CFLAGS='-Ilibblkmaker'
+- libblkmaker_LDFLAGS='-Llibblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs'"$origin_LDFLAGS"
++ libblkmaker_LDFLAGS='-Llibblkmaker/.libs'
+ libblkmaker_LIBS='-lblkmaker_jansson-0.1 -lblkmaker-0.1'
+ AC_CONFIG_SUBDIRS([libblkmaker])
+ fi