Skip to content

Commit 114669e

Browse files
CHG: Need rpath entry for GDAL on newer clang
1 parent 718a8a8 commit 114669e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

externalpackages/gmt/install-6-mac.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ LIBGFORTRAN_ROOT=${LIBGFORTRAN%/*}
2121
#
2222
export CC=mpicc
2323
export CFLAGS="${CFLAGS} -w"
24-
export LDFLAGS="-Wl,-rpath,${NETCDF_ROOT}/lib"
24+
export LDFLAGS="-Wl,-rpath,'${GDAL_ROOT}/lib' -Wl,-rpath,'${NETCDF_ROOT}/lib'"
2525

2626
# Download source
2727
$ISSM_DIR/scripts/DownloadExternalPackage.sh "https://github.com/GenericMappingTools/gmt/archive/refs/tags/${VER}.tar.gz" "gmt-${VER}.tar.gz"

0 commit comments

Comments
 (0)