remove-dangerous-rpath.patch 1.2 KB

12345678910111213141516171819202122
  1. diff -Naur bfgminer-4.8.0-orig/configure bfgminer-4.8.0/configure
  2. --- bfgminer-4.8.0-orig/configure 2014-10-04 20:54:28.717071865 -0400
  3. +++ bfgminer-4.8.0/configure 2014-10-04 20:55:50.140274445 -0400
  4. @@ -14111,7 +14111,7 @@
  5. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  6. libbase58_CFLAGS='-I'"${ac_abs_top_srcdir}"'/libbase58'
  7. - libbase58_LIBS='-L'"${ac_abs_top_builddir}"'/libbase58/.libs -Wl,-rpath,\$$ORIGIN/libbase58/.libs'"$origin_LDFLAGS"' -lbase58'
  8. + libbase58_LIBS='-L'"${ac_abs_top_builddir}"'/libbase58/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"' -lbase58'
  9. libbase58_SUBDIRS=libbase58
  10. libbase58_EXTRADEPS=libbase58_directory
  11. BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES
  12. @@ -14380,7 +14380,7 @@
  13. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  14. libblkmaker_CFLAGS='-I'"${ac_abs_top_srcdir}"'/libblkmaker'
  15. - libblkmaker_LIBS='-L'"${ac_abs_top_builddir}"'/libblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs'"$origin_LDFLAGS"' -lblkmaker_jansson-0.1 -lblkmaker-0.1'
  16. + libblkmaker_LIBS='-L'"${ac_abs_top_builddir}"'/libblkmaker/.libs -Wl,-rpath,/usr/lib'"$origin_LDFLAGS"' -lblkmaker_jansson-0.1 -lblkmaker-0.1'
  17. libblkmaker_SUBDIRS=libblkmaker
  18. libblkmaker_EXTRADEPS=libblkmaker_directory
  19. BUNDLED_LIB_RULES="$BUNDLED_LIB_RULES