Skip to content

Commit 304e97d

Browse files
authored
Merge pull request #4487 from GiudGiud/PR_netcdf_link
Propagate LDFLAGS to netcdf build
2 parents c71646d + 04a4b70 commit 304e97d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71336,6 +71336,7 @@ esac
7133671336
then :
7133771337

7133871338
SUB_CPPFLAGS="$CPPFLAGS"
71339+
SUB_LDFLAGS="$LDFLAGS"
7133971340
SUB_LIBS="$LIBS"
7134071341
if test $enablehdf5 = yes
7134171342
then :

m4/netcdf.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ AS_HELP_STRING([--enable-netcdf=v492],
9191
dnl passing along PETSc's directories in case we want to link to a
9292
dnl --download-hdf5 build there.
9393
SUB_CPPFLAGS="$CPPFLAGS"
94+
SUB_LDFLAGS="$LDFLAGS"
9495
SUB_LIBS="$LIBS"
9596
AS_IF([test $enablehdf5 = yes],
9697
[

0 commit comments

Comments
 (0)