From: Zdeněk Salvet Date: Wed, 17 Oct 2007 15:05:41 +0000 (+0000) Subject: lib->lib64 for VOMS library on x86_64 X-Git-Tag: glite-security-proxyrenewal_R_1_3_5_1~1 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=7158c96fdb840aa0504e643a3c4058883d4b51d6;p=jra1mw.git lib->lib64 for VOMS library on x86_64 --- diff --git a/org.glite.security.proxyrenewal/Makefile b/org.glite.security.proxyrenewal/Makefile index 553a1cc..e7078eb 100644 --- a/org.glite.security.proxyrenewal/Makefile +++ b/org.glite.security.proxyrenewal/Makefile @@ -41,6 +41,12 @@ myproxy_prefix=$globus_prefix -include Makefile.inc +archlib:=lib +host_cpu:=${shell uname -m} +ifeq (${host_cpu},x86_64) + archlib:=lib64 +endif + VPATH:=${top_srcdir}/src:${top_srcdir}/examples GLOBUSINC:= -I${globus_prefix}/include/${nothrflavour} \ @@ -95,8 +101,8 @@ THRLIB:=libglite_security_proxyrenewal_${thrflavour}.la LIB_CORE_NOTHR := libglite_security_proxyrenewal_core_${nothrflavour}.la LIB_CORE_THR := libglite_security_proxyrenewal_core_${thrflavour}.la -VOMS_LIB_NOTHR := -L${glite_location}/lib -lvomsc_${nothrflavour} -VOMS_LIB_THR := -L${glite_location}/lib -lvomsc_${thrflavour} +VOMS_LIB_NOTHR := -L${glite_location}/${archlib} -lvomsc_${nothrflavour} +VOMS_LIB_THR := -L${glite_location}/${archlib} -lvomsc_${thrflavour} DAEMON:=glite-proxy-renewd CLIENT:=glite-proxy-renew