A dylib should be built as a dylib and not a bundle.
authorBill Wendling <isanbard@gmail.com>
Sun, 22 Mar 2009 08:28:45 +0000 (08:28 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 22 Mar 2009 08:28:45 +0000 (08:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67468 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 351a3450601bf7c6f3c558ea3fc239907f98e8aa..88295f2e2d5ca1fe2da527e86611084b39be09bc 100644 (file)
@@ -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