summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/bundles/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/bundles/build.mk b/pkg/bundles/build.mk
index 0db7f3a1..8c7f7fbb 100644
--- a/pkg/bundles/build.mk
+++ b/pkg/bundles/build.mk
@@ -54,6 +54,8 @@ bundle_osx_helpers:
cp -r pkg/osx/openvpn $(DIST_VERSION)/apps/helpers/
bundle_osx_missing:
+ # relink _scrypt, it's linked against brew openssl!
+ install_name_tool -change /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib "@loader_path/libcrypto.1.0.0.dylib" $(DIST_VERSION)/lib/_scrypt.so
cp $(DIST_VERSION)/lib/_scrypt.so $(OSX_CON)/
cp $(DIST_VERSION)/lib/bitmaskd.tac $(OSX_CON)/
cp $(DIST_VERSION)/lib/version $(OSX_CON)/