d2268a67d14ffbdfe295f07b5fda09e8a7c3c9b0
hiram
  Thu Aug 4 10:48:36 2016 -0700
new htslib compile on make requires some extra -lz library links refs #17833

diff --git src/parasol/gensub2/makefile src/parasol/gensub2/makefile
index f627d33..82d761a 100644
--- src/parasol/gensub2/makefile
+++ src/parasol/gensub2/makefile
@@ -1,16 +1,16 @@
 kentSrc = ../..
 include ../../inc/common.mk
 
-L += -lm
+L += -lm -lz
 MYLIBDIR = ../../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkweb.a
 
 O = gensub2.o
 
 gensub2: $O $(MYLIBS)
 	${MKDIR} ../bin
 	${CC} ${COPT} ${CFLAGS} -o ../bin/gensub2 $O $(MYLIBS) $L
 	${STRIP} ../bin/gensub2${EXE}
 
 clean::
 	rm -f ${O}