update how libcompiler_rt.dylib links under libSystem.dylib on MacOSX

llvm-svn: 176466
This commit is contained in:
Nick Kledzik 2013-03-05 00:16:52 +00:00
parent f68a5280cb
commit 2b9a65e4c4
1 changed files with 7 additions and 1 deletions

View File

@ -57,7 +57,13 @@ $(OBJROOT)/libcompiler_rt-%.dylib : $(OBJROOT)/darwin_bni/Release/%/libcompiler_
$(OBJROOT)/version.c -arch $* -dynamiclib \
-install_name /usr/lib/system/libcompiler_rt.dylib \
-compatibility_version 1 -current_version $(RC_ProjectSourceVersion) \
-nodefaultlibs -lSystem -umbrella System -dead_strip \
-nodefaultlibs -umbrella System -dead_strip \
-Wl,-upward-lunwind \
-Wl,-upward-lsystem_m \
-Wl,-upward-lsystem_c \
-Wl,-ldyld \
-Wl,-lsystem_kernel \
-L$(SDKROOT)/usr/lib/system \
$(DYLIB_FLAGS) -Wl,-force_load,$^ -o $@
# Rule to make fat dylib