Skip to content

Commit

Permalink
Per #2611, adding LDFLAGS in an attempt to resolve errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jprestop committed Nov 14, 2023
1 parent db9a375 commit 7f1e467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/scripts/docker/build_met_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LOG_FILE=/met/logs/MET-${MET_GIT_NAME}_configure.log
echo "Running bootstrap for MET ${MET_GIT_NAME} and writing log file ${LOG_FILE}"
./bootstrap > ${LOG_FILE} 2>&1
echo "Configuring MET ${MET_GIT_NAME} and appending to log file ${LOG_FILE}"
./configure BUFRLIB_NAME=-lbufr_4 GRIB2CLIB_NAME=-lg2c --enable-grib2 --enable-ugrid --enable-mode_graphics --enable-modis --enable-lidar2nc --enable-python CPPFLAGS="-I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/cairo" LIBS="-ltirpc" >> ${LOG_FILE} 2>&1
./configure BUFRLIB_NAME=-lbufr_4 GRIB2CLIB_NAME=-lg2c --enable-grib2 --enable-ugrid --enable-mode_graphics --enable-modis --enable-lidar2nc --enable-python CPPFLAGS="-I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/cairo" LDFLAGS="-L/usr/local/lib" LIBS="-ltirpc" >> ${LOG_FILE} 2>&1
if [ $? != 0 ]; then
cat ${LOG_FILE}
exit 1
Expand Down

0 comments on commit 7f1e467

Please sign in to comment.