1a5d46be6bb79ffcf940b30d47f6a63ed6042697
hiram
  Tue Aug 17 14:57:59 2010 -0700
watch out for MYSQLIBS to have other stuff there than just library names
diff --git src/hg/estOrient/makefile src/hg/estOrient/makefile
index 88aed7c..e26dd63 100644
--- src/hg/estOrient/makefile
+++ src/hg/estOrient/makefile
@@ -1,24 +1,24 @@
 include ../../inc/common.mk
 HG_WARN = ${HG_WARN_ERR}
 
-L += -lm
+L += ${MYSQLLIBS} -lm
 MYLIBDIR = ../../lib/${MACHTYPE}
-MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a ${MYSQLLIBS}
+MYLIBS =  ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
 
 
 A = estOrient
 O = estOrient.o
 
 estOrient: $O ${MYLIBS}
 	${CC} ${COPT} ${CFLAGS} -o ${DESTDIR}${BINDIR}/${A}${EXE} $O ${MYLIBS} ${L}
 	${STRIP} ${DESTDIR}${BINDIR}/${A}${EXE}
 
 compile:: ${O}
 	${CC} ${COPT} ${CFLAGS} -o ${A}${EXE} $O ${MYLIBS} ${L}
 
 test:
 	cd tests && ${MAKE} test
 
 clean:
 	rm -f $O $A estOrient
 	cd tests && ${MAKE} clean