summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Vanderwende <vanderwb@ucar.edu>2024-02-12 02:01:53 -0700
committerGitHub <noreply@github.com>2024-02-12 10:01:53 +0100
commit6dc01f0d94b57b6988b4065d7943ed8592f51888 (patch)
tree8171f52b05f4ba0d7c7803797677ae02a36c0929
parent2d3eeecef8d4746bb05a00795c1c74c78c7d4034 (diff)
downloadspack-6dc01f0d94b57b6988b4065d7943ed8592f51888.tar.gz
spack-6dc01f0d94b57b6988b4065d7943ed8592f51888.tar.bz2
spack-6dc01f0d94b57b6988b4065d7943ed8592f51888.tar.xz
spack-6dc01f0d94b57b6988b4065d7943ed8592f51888.zip
Fix for tirpc variable in libdap4 (#42511)
-rw-r--r--var/spack/repos/builtin/packages/libdap4/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/libdap4/package.py b/var/spack/repos/builtin/packages/libdap4/package.py
index d69d9d34ff..b8ad2a2e7f 100644
--- a/var/spack/repos/builtin/packages/libdap4/package.py
+++ b/var/spack/repos/builtin/packages/libdap4/package.py
@@ -41,7 +41,7 @@ class Libdap4(AutotoolsPackage):
# 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