From 0bcc3ff74426582cff61a8d136575d2a936efca1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Thu, 8 Jan 2009 20:56:24 +0000 Subject: [PATCH] Static linking is not needed, package relocation can be used if needed. --- org.glite.jp.client/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/org.glite.jp.client/Makefile b/org.glite.jp.client/Makefile index 1a9884c..4ae5e84 100644 --- a/org.glite.jp.client/Makefile +++ b/org.glite.jp.client/Makefile @@ -70,8 +70,12 @@ dotless_gsoap_ver:=${shell echo ${gsoap_default_version} | tr -d . } ifeq ($(shell test -f ${stagedir}/lib/libglite_security_gsoap_plugin_${dotless_gsoap_ver}_${nothrflavour}_c.la && echo ok),ok) langflavour:=_c endif -# static linking for LB/JP compatibility from different glite releases -GSOAPLIB:=-lglite_security_gsoap_plugin_${dotless_gsoap_ver}_${nothrflavour}${langflavour} -static +GSOAPLIB:=-lglite_security_gsoap_plugin_${dotless_gsoap_ver}_${nothrflavour}${langflavour} +# static linking may be useful for LB/JP compatibility from different glite +# releases if we want to have the same prefix +ifdef GSOAP_STATIC +GSOAPLIB+=$(GSOAP_LIB) -static +endif LBMAILDIRLIB:=-lglite_lbu_maildir -- 1.8.2.3