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.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/libre/bfgminer-libre/remove-dangerous-rpath.patch b/libre/bfgminer-libre/remove-dangerous-rpath.patch
index b56cb21ba..abd815141 100644
--- a/libre/bfgminer-libre/remove-dangerous-rpath.patch
+++ b/libre/bfgminer-libre/remove-dangerous-rpath.patch
@@ -4,7 +4,7 @@
])
else
libblkmaker_CFLAGS='-Ilibblkmaker'
-- libblkmaker_LDFLAGS='-Llibblkmaker/.libs -Wl,-rpath,libblkmaker/.libs'
+- 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])