From: Bill Wendling Date: Fri, 10 Apr 2009 18:20:41 +0000 (+0000) Subject: Add compatibility_version and current_version flags when creating dylibs. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fa72236d29f0e5a4557f04251ce1b0a9584f7c56;p=oota-llvm.git 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 --- diff --git a/Makefile.rules b/Makefile.rules index e6c266af7f4..ba599294ac6 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