1 |
#!/bin/sh |
#!/bin/sh |
2 |
# ********************************************************************** |
# ********************************************************************** |
3 |
# * @(#) cernlib |
# * @(#) cernlib |
4 |
# * @(#) $Header: /afs/ba.infn.it/user/pamela/src/CVS/DarthVader/docs/cernlib_pam,v 1.2 2006/11/08 13:09:36 mocchiut Exp $ |
# * @(#) $Header: /afs/ba.infn.it/user/pamela/src/CVS/DarthVader/docs/cernlib_pam,v 1.3 2007/01/23 15:36:53 mocchiut Exp $ |
5 |
# * * |
# * * |
6 |
# * Attachment of CERN Libraries for link step * |
# * Attachment of CERN Libraries for link step * |
7 |
# * * |
# * * |
211 |
echo $CERNLIB | grep pawlib >/dev/null && CERNLIB="$CERNLIB -lld" |
echo $CERNLIB | grep pawlib >/dev/null && CERNLIB="$CERNLIB -lld" |
212 |
fi |
fi |
213 |
if [ "$Msys" = "Linux" ] ; then |
if [ "$Msys" = "Linux" ] ; then |
214 |
if [ -f $CERN/$gver/lib/libpacklib_noshift.a ]; then |
if [ -f $CERN/$gver/lib/libpacklib_noshift.a ]||[ -f $CERN/$gver/lib/libpacklib-shift.a ]; then |
215 |
CERNLIB="$CERNLIB -lnsl -lcrypt -ldl" |
CERNLIB="$CERNLIB -lnsl -lcrypt -ldl" |
216 |
else |
else |
217 |
CERNLIB="$CERNLIB -lshift -lnsl -lcrypt -ldl" |
CERNLIB="$CERNLIB -lshift -lnsl -lcrypt -ldl" |