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.
This commit is contained in:
parent
50318e4ee3
commit
aec3589679
1 changed files with 3 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue