813ac14a66f960ceb9a2c8e56054664181c8d35b
hiram
  Sun Jan 27 21:20:09 2019 -0800
output valid json for public hub listing refs #18869

diff --git src/hg/hubApi/makefile src/hg/hubApi/makefile
index cd3c77d..50bd782 100644
--- src/hg/hubApi/makefile
+++ src/hg/hubApi/makefile
@@ -1,18 +1,18 @@
 kentSrc = ../..
 include ../../inc/common.mk
 
-L += $(MYSQLLIBS) -lm
+L += ${HALLIBS} $(MYSQLLIBS) -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
 MYLIBS =  $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
 
 A = hubApi
 O = hubApi.o
 
 A = hubApi
 
 include ../../inc/cgi_build_rules.mk
 
 compile:: $O
 	${CC} $O ${MYLIBS} ${L}
 	mv ${AOUT} $A${EXE}