summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/gold/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/gold/Makefile b/tools/gold/Makefile
index 65e99bf41c..7bac4ec62d 100644
--- a/tools/gold/Makefile
+++ b/tools/gold/Makefile
@@ -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