mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-27 06:54:30 +00:00
Add compatibility_version and current_version flags when creating dylibs.
llvm-svn: 68801
This commit is contained in:
parent
87577a3498
commit
e619558f13
@ -439,6 +439,7 @@ ifeq ($(OS),Darwin)
|
||||
DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
|
||||
|
||||
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress \
|
||||
-compatibility_version 1 -current_version 1 \
|
||||
-dynamiclib -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user