From cd0a65f5ce632541662771f953e38c9cc2c5c77f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Mon, 27 Sep 2004 08:16:33 +0000 Subject: [PATCH] Link all required libraries for unit tests --- org.glite.lb.common/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/org.glite.lb.common/Makefile b/org.glite.lb.common/Makefile index c531b8f..0a2b0c2 100644 --- a/org.glite.lb.common/Makefile +++ b/org.glite.lb.common/Makefile @@ -50,6 +50,8 @@ ARES_LIBS:=-L${ares_prefix}/lib -lares LDFLAGS:=-L${stagedir}/lib \ ${COVERAGE_FLAGS} +EXT_LIBS:= ${EXPAT_LIBS} ${ARES_LIBS} ${GLOBUS_LIBS} + # breaks linking when not installed in /opt, /home/dimeglio etc. # ${GLITE_LIBS} \ # ${GLOBUS_LIBS} \ @@ -114,7 +116,7 @@ check.parse: test_parse test_parse: parse.cpp ${CXX} -c ${CFLAGS} ${TEST_INC} $< - ${LINKXX} -o test_parse parse.o ${LTLIB} ${TEST_LIBS} + ${LINKXX} -o test_parse parse.o ${LTLIB} ${TEST_LIBS} ${EXT_LIBS} check.gss: test_gss # ./test_gss @@ -124,10 +126,10 @@ check.il: il_test ./il_test test_gss: test_gss.o - ${LINKXX} -o $@ test_gss.o ${LTLIB} ${TEST_LIBS} + ${LINKXX} -o $@ test_gss.o ${LTLIB} ${TEST_LIBS} ${EXT_LIBS} il_test: il_test.o il_int_test.o il_string_test.o - ${LINKXX} -o $@ ${LTLIB} ${TEST_LIBS} $+ + ${LINKXX} -o $@ $+ ${LTLIB} ${TEST_LIBS} ${EXT_LIBS} test_coverage: -mkdir coverage -- 1.8.2.3