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/blat/makefile src/blat/makefile
index d42f2c2..770d3aa 100644
--- src/blat/makefile
+++ src/blat/makefile
@@ -1,35 +1,35 @@
 kentSrc = ..
 include ../inc/common.mk
 
-L += -lm $(SOCKETLIB)
+L += -lm $(SOCKETLIB) -lz
 MYLIBDIR = ../lib/$(MACHTYPE)
 MYLIBS =  $(MYLIBDIR)/jkOwnLib.a $(MYLIBDIR)/jkweb.a 
 
 O = blat.o
 
 blat: $O $(MYLIBS)
 	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/blat $O $(MYLIBS) $L
 	${STRIP} ${DESTDIR}${BINDIR}/blat${EXE}
 
 all:
 	cd ../lib && ${MAKE}
 	make
 tags:
 	ctags *.c *.h ../lib/*.c ../inc/*.h
 
 test::
 	blat -verbose=0 hCrea.geno hCrea.mrna testRna.psl
 	cmp testRna.psl refRna.psl
 	blat -verbose=0 -prot hCrea.pep mCrea.pep testProt.psl
 	cmp testProt.psl refProt.psl
 	blat -verbose=0 -t=dnax -q=prot hCrea.geno mCrea.pep testProtX.psl
 	cmp testProtX.psl refProtX.psl
 	blat -verbose=0 -t=dnax -q=rnax hCrea.geno mCrea.mrna testRnaX.psl
 	cmp testRnaX.psl refRnaX.psl
 	blat -verbose=0 -fine hCrea.geno hCrea.mrna testFine.psl
 	cmp testFine.psl refFine.psl
 	cd test && ${MAKE}
 
 clean::
 	rm -f testRna.psl testProt.psl testProtX.psl testRnaX.psl \
 	testFine.psl $(O) blat