Skip to content

Commit

Permalink
Update build_met.sh
Browse files Browse the repository at this point in the history
load libpng, use env. variable PNG_LIBRARIES
  • Loading branch information
natalie-perlin authored Nov 9, 2022
1 parent e6c117f commit bd8eefc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/build_met.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if $MODULES; then
module load bufr
module load zlib
module load jasper
module try-load png
module try-load libpng
module load g2c
module load hdf5
module load netcdf
Expand Down Expand Up @@ -80,7 +80,7 @@ export GRIB2CLIB_NAME=-lg2c
jasper_libdir=`find ${JASPER_ROOT} -name libjasper.a -exec dirname {} \;`
export LIB_JASPER=$jasper_libdir

export LIB_LIBPNG=${PNG_LIBDIR}
export LIB_LIBPNG=${PNG_LIBRARIES}
export LIB_Z=${ZLIB_ROOT}/lib

if [[ $enable_python =~ [yYtT] ]]; then
Expand Down

0 comments on commit bd8eefc

Please sign in to comment.