Fix for tirpc variable in libdap4 (#42511)

This commit is contained in:
Brian Vanderwende 2024-02-12 02:01:53 -07:00 committed by GitHub
parent 2d3eeecef8
commit 6dc01f0d94
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ def setup_build_environment(self, env):
# during configure tests. This can cause a failure with libtirpc if the following variable # during configure tests. This can cause a failure with libtirpc if the following variable
# is not set. # is not set.
if self.spec.satisfies("^libtirpc"): if self.spec.satisfies("^libtirpc"):
env.set("TIRPC_LIBS", self.spec["rpc"].libs) env.set("TIRPC_LIBS", self.spec["rpc"].libs.link_flags)
def configure_args(self): def configure_args(self):
# libxml2 exports ./include/libxml2/ instead of ./include/, which we # libxml2 exports ./include/libxml2/ instead of ./include/, which we