netcdf-cxx4: fix reference error (#43322)

This commit is contained in:
Chris Marsh
2024-03-22 17:05:17 -06:00
committed by GitHub
parent c3eaf4d6cf
commit 2967804da1

View File

@@ -50,7 +50,7 @@ def flag_handler(self, name, flags):
@property
def libs(self):
libraries = ["libnetcdf_c++4"]
shared = "+shared" in spec
shared = "+shared" in self.spec
libs = find_libraries(libraries, root=self.prefix, shared=shared, recursive=True)
if libs: