summaryrefslogtreecommitdiff
path: root/isofs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'isofs/Makefile')
-rw-r--r--isofs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/isofs/Makefile b/isofs/Makefile
index 9147c123..6475c521 100644
--- a/isofs/Makefile
+++ b/isofs/Makefile
@@ -22,7 +22,7 @@ SRCS = inode.c main.c lookup.c pager.c rr.c
OBJS = $(SRCS:.c=.o)
HURDLIBS = diskfs iohelp fshelp store pager ports ihash shouldbeinlibc
-OTHERLIBS = -lpthread -lbz2 -lz
+OTHERLIBS = -lpthread $(and $(HAVE_LIBBZ2),-lbz2) $(and $(HAVE_LIBZ),-lz)
include ../Makeconf