From de7d7f9dbb11eefe03c33ee62b307d784be8d44c Mon Sep 17 00:00:00 2001 From: kali Date: Tue, 8 Aug 2017 13:47:34 -0700 Subject: [pkg] fix osx bundle by relinking broken _scrypt dylib --- pkg/bundles/build.mk | 2 ++ 1 file changed, 2 insertions(+) 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)/ -- cgit v1.2.3