Link examples explicitely with L&B common library (build with '--as-needed').
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 1 Nov 2011 19:03:11 +0000 (19:03 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 1 Nov 2011 19:03:11 +0000 (19:03 +0000)
org.glite.lb.client/Makefile

index 726cc36..ef8f1c7 100644 (file)
@@ -244,10 +244,7 @@ notify: notify.o
 register_sandbox: %: %.o
        ${LINK} -o $@ $@.o ${default_clientlib} ${EXT_LIB}
 
-${TOOLS} ${EXAMPLES}: %: %.o
-       ${LINK} -o $@ $< ${default_clientlib} ${EXT_LIB} 
-
-${EXAMPLES_CL}: %: %.o
+${TOOLS} ${EXAMPLES} ${EXAMPLES_CL}: %: %.o
        ${LINK} -o $@ $< ${default_clientlib} ${default_commonlib} ${EXT_LIB} 
 
 ${EXAMPLES_CL_THR}: %: %.o