summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-07 00:03:11 +0000
committerChris Lattner <sabre@nondot.org>2004-10-07 00:03:11 +0000
commit6856912f5b9f35094f5575e7753313345a3bb1f7 (patch)
tree1ed86c2931f16627037c013ba9a1c345213e9b19 /Makefile.rules
parent194878fbac0a1598fdf7fc8d9045c183c195b6e7 (diff)
downloadllvm-6856912f5b9f35094f5575e7753313345a3bb1f7.tar.gz
llvm-6856912f5b9f35094f5575e7753313345a3bb1f7.tar.bz2
llvm-6856912f5b9f35094f5575e7753313345a3bb1f7.tar.xz
Don't add libz or libbz2 to the USEDLIBS lists, those are for LLVM libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index adf5ef9f79..393ce48d07 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -658,10 +658,10 @@ ifdef TOOLNAME
# Handle compression libraries automatically
ifeq ($(HAVE_BZIP2),1)
-USEDLIBS += bz2.a
+TOOLLINKOPTS += -lbz2
endif
ifeq ($(HAVE_ZLIB),1)
-USEDLIBS += z.a
+TOOLLINKOPTS += -lz
endif
# TOOLEXENAME* - These compute the output filenames to generate...
TOOLEXENAME_G := $(DESTTOOLDEBUG)/$(TOOLNAME)