forked from OSchip/llvm-project
update how libcompiler_rt.dylib links under libSystem.dylib on MacOSX
llvm-svn: 176466
This commit is contained in:
parent
f68a5280cb
commit
2b9a65e4c4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue