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…
Reference in New Issue