mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
also pass -compatibility_version when linking shared object for Darwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47747 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6c231501f8
commit
4ed55ceeaf
@ -18,6 +18,7 @@ include $(LEVEL)/Makefile.config
|
||||
LINK_LIBS_IN_SHARED = 1
|
||||
ifeq ($(OS),Darwin)
|
||||
SHARED_LIBRARY = 1
|
||||
BUILD_ARCHIVE = 0
|
||||
DONT_BUILD_RELINKED = 1
|
||||
else
|
||||
BUILD_ARCHIVE = 1
|
||||
@ -31,7 +32,8 @@ ifeq ($(OS),Darwin)
|
||||
# set dylib internal version number to llvmCore submission number
|
||||
ifdef LLVM_SUBMIT_VERSION
|
||||
LLVMLibsOptions := $(LLVMLibsOptions) -Wl,-current_version \
|
||||
-Wl,$(LLVM_SUBMIT_VERSION).$(LLVM_SUBMIT_SUBVERSION)
|
||||
-Wl,$(LLVM_SUBMIT_VERSION).$(LLVM_SUBMIT_SUBVERSION) \
|
||||
-Wl,-compatibility_version -Wl,1
|
||||
endif
|
||||
# extra options to override libtool defaults
|
||||
LLVMLibsOptions := $(LLVMLibsOptions) \
|
||||
|
Loading…
Reference in New Issue
Block a user