Skip to content

Commit

Permalink
Add compatibility_version and current_version flags when creating dyl…
Browse files Browse the repository at this point in the history
…ibs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68801 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
isanbard committed Apr 10, 2009
1 parent 82934f2 commit fa72236
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa72236

Please sign in to comment.