Fix Makefile to build correctly on Darwin. Patch by Sandeep Patel!
authorNick Lewycky <nicholas@mxc.ca>
Sun, 11 Oct 2009 23:10:09 +0000 (23:10 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 11 Oct 2009 23:10:09 +0000 (23:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83813 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gold/Makefile

index 65e99bf41c9aa8322a49a4db7e7aa19f9bdbe21e..7bac4ec62deac4e575f2ccdcd62da70521fb4d20 100644 (file)
@@ -8,7 +8,7 @@
 ##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
-LIBRARYNAME = LLVMgold
+LIBRARYNAME = libLLVMgold
 
 # Include this here so we can get the configuration of the targets
 # that have been configured for construction. We have to do this 
@@ -18,8 +18,9 @@ include $(LEVEL)/Makefile.config
 LINK_LIBS_IN_SHARED=1
 SHARED_LIBRARY = 1
 BUILD_ARCHIVE = 0
+LOADABLE_MODULE = 1
 
-LINK_COMPONENTS :=
+LINK_COMPONENTS := support system
 LIBS += -llto
 
 # Because off_t is used in the public API, the largefile parts are required for