Fix for tirpc variable in libdap4 (#42511)
This commit is contained in:
parent
2d3eeecef8
commit
6dc01f0d94
@ -41,7 +41,7 @@ def setup_build_environment(self, env):
|
||||
# during configure tests. This can cause a failure with libtirpc if the following variable
|
||||
# is not set.
|
||||
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):
|
||||
# libxml2 exports ./include/libxml2/ instead of ./include/, which we
|
||||
|
Loading…
Reference in New Issue
Block a user