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