533112afe2a2005e80cdb1f82904ea65032d4302
braney
  Sat Oct 2 11:37:34 2021 -0700
split hg/lib into two separate libaries, one only used by the cgis

diff --git src/hg/hubApi/makefile src/hg/hubApi/makefile
index 49c4ae3..83e8c06 100644
--- src/hg/hubApi/makefile
+++ src/hg/hubApi/makefile
@@ -1,23 +1,23 @@
 kentSrc = ../..
 include ../../inc/common.mk
 
 cgiApi = /usr/local/apache/cgi-bin-api
 
 L += ${HALLIBS} $(MYSQLLIBS) -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS =  $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
+MYLIBS =  $(MYLIBDIR)/jkhgapcgi.a $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a
 
 A = hubApi
 O = hubApi.o getData.o apiUtils.o list.o
 
 A = hubApi
 
 include ../../inc/cgi_build_rules.mk
 
 compile:: $O
 	${CC} $O ${MYLIBS} ${L}
 	mv ${AOUT} $A${EXE}
 
 # building your own sandbox also copies result to cgiApi directory
 # if it exists