aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)