OSDN Git Service

Don't add libz or libbz2 to the USEDLIBS lists, those are for LLVM libraries.
authorChris Lattner <sabre@nondot.org>
Thu, 7 Oct 2004 00:03:11 +0000 (00:03 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 7 Oct 2004 00:03:11 +0000 (00:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16798 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index adf5ef9..393ce48 100644 (file)
@@ -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)