From acd9ae052f5c10ef42c8b20e705586809d4e1c0b Mon Sep 17 00:00:00 2001 From: Alexander Afanasyev Date: Fri, 11 Dec 2015 20:05:07 -0800 Subject: [PATCH] build: Set correct shared library id when compiled on OS X platform Refs: #80 --- GNUmakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/GNUmakefile b/GNUmakefile index 92adbb02..16a7b3b8 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -364,6 +364,7 @@ install: -$(CHMOD) 755 $(PREFIX)/bin/cryptest.exe ifneq ($(IS_DARWIN),0) -$(CP) libcryptopp.dylib $(PREFIX)/lib + -install_name_tool -id $(PREFIX)/lib/libcryptopp.dylib $(PREFIX)/lib/libcryptopp.dylib -$(CHMOD) 755 $(PREFIX)/lib/libcryptopp.dylib else -$(CP) libcryptopp.so $(PREFIX)/lib