Skip to content
Snippets Groups Projects
Commit cd1e037c authored by Bill Wendling's avatar Bill Wendling
Browse files

Add compatibility_version and current_version flags when creating dylibs.

llvm-svn: 68801
parent ffe4ad67
No related branches found
No related tags found
No related merge requests found
...@@ -439,6 +439,7 @@ ifeq ($(OS),Darwin) ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment