Really should pass -dylib to the linker...
authorBill Wendling <isanbard@gmail.com>
Sun, 22 Mar 2009 08:56:15 +0000 (08:56 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 22 Mar 2009 08:56:15 +0000 (08:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67469 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 88295f2e2d5ca1fe2da527e86611084b39be09bc..aece8bab27f2cfb6c4cc6ac7774608ec396f8da2 100644 (file)
@@ -435,7 +435,7 @@ ifeq ($(OS),Darwin)
   # 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 -dylib \
+  SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -Wl,-dylib \
                     -mmacosx-version-min=$(DARWIN_VERSION)
   CompileCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
 else