Skip to content

Commit

Permalink
Update build_met.sh
Browse files Browse the repository at this point in the history
Needs an dditional library for a linker when building with gnu compilers, "-ldl"
  • Loading branch information
natalie-perlin authored Nov 9, 2022
1 parent 909cd6a commit dffa142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/build_met.sh
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ LDFLAGS3="-L${MET_GRIB2CLIB} -L${MET_GSL}/lib"
LDFLAGS4="-L${LIB_JASPER} -L${MET_HDF5}/lib -L${LIB_LIBPNG} -L${LIB_Z}"

export LDFLAGS="-fPIE ${LDFLAGS2:-} ${LDFLAGS3:-} ${LDFLAGS4:-}"
export LIBS="-lhdf5_hl -lhdf5 -lz"
export LIBS="-lhdf5_hl -lhdf5 -lz -ldl"

[[ -d $pkg_name ]] && cd $pkg_name || ( echo "$pkg_name does not exist, ABORT!"; exit 1 )

Expand Down

0 comments on commit dffa142

Please sign in to comment.