make the binary depend on the server library
authorAleš Křenek <ljocha@ics.muni.cz>
Mon, 28 Nov 2005 18:26:21 +0000 (18:26 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Mon, 28 Nov 2005 18:26:21 +0000 (18:26 +0000)
org.glite.lb.proxy/Makefile

index 6c06a69..5c21061 100644 (file)
@@ -70,7 +70,7 @@ endif
 
 
 SRVBONES_LIB:= -L${stagedir}/lib -lglite_lb_server_bones
-LB_SERVER_SHARE_LIB:= -L${stagedir}/lib -lglite_lb_bkserver
+LB_SERVER_SHARE_LIB:=${stagedir}/lib/libglite_lb_bkserver.a
 LB_PROXY_COMMON_LIB:= -L${stagedir}/lib -lglite_lb_common_${nothrflavour}
 COMMON_LIBS:= -L${stagedir}/lib -lglite_lb_common_${nothrflavour} -lglite_security_gss_${nothrflavour}
 GRIDSITE_LIBS = -lgridsite_globus `xml2-config --libs`
@@ -101,7 +101,7 @@ LB_PROXY_LIBS:= \
 
 
 
-glite_lb_proxy: lbproxy.o
+glite_lb_proxy: lbproxy.o ${LB_SERVER_SHARE_LIB}
        @echo DEBUG: mysql_version=${mysql_version} mysql_prefix=${mysql_prefix}
        @echo DEBUG: shell: x$(shell echo ${mysql_version} | cut -d. -f1,2)x
        ${LINK} -o $@ lbproxy.o ${LB_PROXY_LIBS}