Add RPC lib path to wrapper flags for HDF4 (#35628)

This commit is contained in:
Brian Vanderwende 2023-04-20 09:49:04 -06:00 committed by GitHub
parent 1b7cf171ce
commit 381f1b76a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,6 +170,7 @@ def configure_args(self):
# We should not specify '--disable-hdf4-xdr' due to a bug in the # We should not specify '--disable-hdf4-xdr' due to a bug in the
# configure script. # configure script.
config_args.append("LIBS=%s" % self.spec["rpc"].libs.link_flags) config_args.append("LIBS=%s" % self.spec["rpc"].libs.link_flags)
config_args.append("LDFLAGS=%s" % self.spec["rpc"].libs.search_flags)
# https://github.com/Parallel-NetCDF/PnetCDF/issues/61 # https://github.com/Parallel-NetCDF/PnetCDF/issues/61
if self.spec.satisfies("%gcc@10:"): if self.spec.satisfies("%gcc@10:"):