Changeset 1811 for LMDZ5/trunk/makelmdz


Ignore:
Timestamp:
Jul 24, 2013, 11:42:06 AM (11 years ago)
Author:
Ehouarn Millour
Message:

Small fix in makelmdz to enable linking with orchidee2.0 library. Added same handling of library dependencies in makelmdz_fcm.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/makelmdz

    r1810 r1811  
    363363   fi
    364364   if [[ "$veget" == "orchidee2.0" ]] ; then
    365       listlibs=orchidee
     365      orch_libs=orchidee
    366366   else
    367       listlibs="sechiba parameters stomate parallel orglob"
     367      orch_libs="sechiba parameters stomate parallel orglob"
    368368   fi
    369369   LIB="${LIB} -L${ORCH_LIBDIR}"
    370    for lib in sechiba parameters stomate parallel orglob ; do
     370   for lib in ${orch_libs} ; do
    371371      if [ -f ${ORCH_LIBDIR}/lib${LIBPREFIX}$lib.a ] ; then
    372372         LIB="${LIB} -l${LIBPREFIX}$lib "
Note: See TracChangeset for help on using the changeset viewer.