Fix the gLite 3.2 build.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 1 Dec 2010 19:52:24 +0000 (19:52 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 1 Dec 2010 19:52:24 +0000 (19:52 +0000)
gSoap external 2.7.6b installs itself to lib/ instead of lib64/.

org.glite.security.gsoap-plugin/Makefile

index 33b3b6e..49dd394 100644 (file)
@@ -95,7 +95,8 @@ ifeq (${lang},cxx)
 LINK_lang:=${LINKXX}
 endif
 
-GSOAP_LIBS?=-L${gsoap_prefix}/${libdir} -lgsoap
+gsoaplibdir=$(shell if test -d "${gsoap_prefix}/${libdir}"; then echo "${gsoap_prefix}/${libdir}"; else echo "${gsoap_prefix}/lib"; fi)
+GSOAP_LIBS?=-L${gsoaplibdir} -lgsoap
 
 EX_NOTHRLIBS:=-L${stagedir}/${libdir} -lglite_security_gss_${nothrflavour}
 EX_THRLIBS:=-L${stagedir}/${libdir} -lglite_security_gss_${thrflavour}