mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Add compatibility_version and current_version flags when creating dylibs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68801 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
82934f2355
commit
fa72236d29
@ -439,6 +439,7 @@ ifeq ($(OS),Darwin)
|
|||||||
DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
|
DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
|
||||||
|
|
||||||
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress \
|
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress \
|
||||||
|
-compatibility_version 1 -current_version 1 \
|
||||||
-dynamiclib -mmacosx-version-min=$(DARWIN_VERSION)
|
-dynamiclib -mmacosx-version-min=$(DARWIN_VERSION)
|
||||||
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user