From cad464d097b7792d97881a318fa09ad114dfc11f Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Sun, 30 Mar 2014 22:29:03 +0800 Subject: [PATCH] Makefile: OSX need -dynamiclib option --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4443e78ec..2e104fb31 100644 --- a/Makefile +++ b/Makefile @@ -161,7 +161,7 @@ VERSION_EXT = ifeq ($(UNAME_S),Darwin) EXT = dylib VERSION_EXT = $(API_MAJOR).$(EXT) -LDFLAGS += -install_name lib$(LIBNAME).$(VERSION_EXT) -current_version $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA) -compatibility_version $(PKG_MAJOR).$(PKG_MINOR) +LDFLAGS += -dynamiclib -install_name lib$(LIBNAME).$(VERSION_EXT) -current_version $(PKG_MAJOR).$(PKG_MINOR).$(PKG_EXTRA) -compatibility_version $(PKG_MAJOR).$(PKG_MINOR) AR_EXT = a ifneq ($(HOMEBREW_CAPSTONE),1) ifneq ($(USE_SYS_DYN_MEM),yes)