From ce08d23426dfe40147b818b65bb02977f07faf51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Fri, 13 Nov 2009 12:05:31 +0000 Subject: [PATCH] Consider arch libdir when linking c-ares. --- org.glite.lb.server/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/org.glite.lb.server/Makefile b/org.glite.lb.server/Makefile index c962f02..be70ad8 100644 --- a/org.glite.lb.server/Makefile +++ b/org.glite.lb.server/Makefile @@ -146,15 +146,20 @@ LCAS_LIBS:=-L${lcas_prefix}/${libdir} -llcas # -lvomsc${vomsflavour} \ ifneq (${classads_prefix},/usr) - classadslib := -L${classads_prefix}/${libdir} -L${classads_prefix}/lib + CLASSADS_LIBS := -L${classads_prefix}/${libdir} -L${classads_prefix}/lib endif +CLASSADS_LIBS := ${CLASSADS_LIBS} -lclassad -classadslib := ${classadslib} -lclassad +ifneq (${cares_prefix},/usr) + CARES_LIBS := -L${cares_prefix}/${libdir} -L${cares_prefix}/lib +endif +CARES_LIBS := ${CARES_LIBS} -lcares EXT_LIBS:= \ - -lz -lcares\ + -lz \ ${GRIDSITE_LIBS} \ - ${classadslib} \ + ${CLASSADS_LIBS} \ + ${CARES_LIBS} \ ${LCAS_LIBS} \ ${VOMS_LIBS} -- 1.8.2.3