From 7158c96fdb840aa0504e643a3c4058883d4b51d6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20Salvet?= Date: Wed, 17 Oct 2007 15:05:41 +0000 Subject: [PATCH] lib->lib64 for VOMS library on x86_64 --- org.glite.security.proxyrenewal/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 1.8.2.3