diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-04-10 18:20:41 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-04-10 18:20:41 +0000 |
commit | fa72236d29f0e5a4557f04251ce1b0a9584f7c56 (patch) | |
tree | c3789889141826c3d251c64b79873004d72468bd | |
parent | 82934f2355da7ffb93da8bd14c06ae1b706fee5f (diff) |
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
-rw-r--r-- | Makefile.rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index e6c266af7f..ba599294ac 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -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 |