diff options
author | Chris Marsh <chrismarsh.c2@gmail.com> | 2024-10-10 09:45:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-10 11:45:51 -0400 |
commit | 8fae388f5745785bb898dba6f5e48b471954cb72 (patch) | |
tree | 1886ee86f017fdf57014fff5e010fcddbfba12c5 /var | |
parent | a332e0c1433eb61da232a79a7e16c3fd02dd9a45 (diff) | |
download | spack-8fae388f5745785bb898dba6f5e48b471954cb72.tar.gz spack-8fae388f5745785bb898dba6f5e48b471954cb72.tar.bz2 spack-8fae388f5745785bb898dba6f5e48b471954cb72.tar.xz spack-8fae388f5745785bb898dba6f5e48b471954cb72.zip |
pcre2: Fix spec reference without self
Fixes bug introduced in #46788
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/pcre2/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/pcre2/package.py b/var/spack/repos/builtin/packages/pcre2/package.py index eb7186ed4f..df79accc6e 100644 --- a/var/spack/repos/builtin/packages/pcre2/package.py +++ b/var/spack/repos/builtin/packages/pcre2/package.py @@ -82,7 +82,7 @@ class CMakeBuilder(spack.build_systems.cmake.CMakeBuilder): # by default, this is in parity with the autotools build, so on # linux and MacOS, the produced binaries are identical, Windows is the # only outlier - if spec.satisfies("platform=windows"): + if self.spec.satisfies("platform=windows"): args.append(self.define_from_variant("BUILD_SHARED_LIBS", "shared")) # PCRE allows building shared and static at the same time # this is bad practice and a problem on some platforms |