mirror of
https://github.com/capstone-engine/capstone.git
synced 2025-02-12 18:08:42 +00:00
support dylib versioning for OSX
This commit is contained in:
parent
1c9b1a6a35
commit
a8fb48c5b3
2
Makefile
2
Makefile
@ -153,6 +153,8 @@ VERSION_EXT =
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
EXT = dylib
|
||||
VERSION_EXT = $(API_MAJOR).$(EXT)
|
||||
#LDFLAGS += -install_name lib$(LIBNAME).$(VERSION_EXT) -current_version $(API_MAJOR) -compatibility_version $(API_MAJOR)
|
||||
LDFLAGS += -install_name lib$(LIBNAME).$(VERSION_EXT) -current_version $(API_MAJOR).1 -compatibility_version $(API_MAJOR).1
|
||||
AR_EXT = a
|
||||
ifneq ($(USE_SYS_DYN_MEM),yes)
|
||||
# remove string check because OSX kernel complains about missing symbols
|
||||
|
Loading…
x
Reference in New Issue
Block a user