forked from OSchip/llvm-project
A dylib should be built as a dylib and not a bundle.
llvm-svn: 67468
This commit is contained in:
parent
dc637a0be9
commit
f3ef2c758f
|
@ -434,8 +434,8 @@ ifeq ($(OS),Darwin)
|
|||
DARWIN_VERSION := $(shell echo $(DARWIN_VERSION)| sed -E 's/(10.[0-9]).*/\1/')
|
||||
# Get "4" out of 10.4 for later pieces in the makefile.
|
||||
DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')
|
||||
|
||||
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -bundle \
|
||||
|
||||
SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -dylib \
|
||||
-mmacosx-version-min=$(DARWIN_VERSION)
|
||||
CompileCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue