Skip to content
Snippets Groups Projects
Unverified Commit aec35896 authored by Tom Payerle's avatar Tom Payerle Committed by GitHub
Browse files

netcdf-c: Patch to support hdf linked against libtirpc (#15994)

If hdf was built with +libtirpc, we need to add -ltirpc to our link
flags.
parent 50318e4e
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,9 @@ def configure_args(self):
if '+szip' in hdf4:
# This should also come from hdf4.libs
libs.append('-lsz')
if '+libtirpc' in hdf4:
# This should also come from hdf4.libs
libs.append('-ltirpc')
# Fortran support
# In version 4.2+, NetCDF-C and NetCDF-Fortran have split.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment