From 30343d65ba0bb0cb7e31a5ab9b7b9545147a31f3 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Thu, 22 Dec 2022 15:58:32 -0600 Subject: libelf: fix build on macOS x86_64 (#34646) --- var/spack/repos/builtin/packages/libelf/package.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/libelf/package.py b/var/spack/repos/builtin/packages/libelf/package.py index b581c8306d..240137324f 100644 --- a/var/spack/repos/builtin/packages/libelf/package.py +++ b/var/spack/repos/builtin/packages/libelf/package.py @@ -30,14 +30,14 @@ class Libelf(AutotoolsPackage): provides("elf@0") # configure: error: neither int nor long is 32-bit - depends_on("automake", when="platform=darwin target=aarch64:", type="build") - depends_on("autoconf", when="platform=darwin target=aarch64:", type="build") - depends_on("libtool", when="platform=darwin target=aarch64:", type="build") - depends_on("m4", when="platform=darwin target=aarch64:", type="build") + depends_on("automake", when="platform=darwin", type="build") + depends_on("autoconf", when="platform=darwin", type="build") + depends_on("libtool", when="platform=darwin", type="build") + depends_on("m4", when="platform=darwin", type="build") @property def force_autoreconf(self): - return self.spec.satisfies("platform=darwin target=aarch64:") + return self.spec.satisfies("platform=darwin") def configure_args(self): args = ["--enable-shared", "--disable-debug"] -- cgit v1.2.3-60-g2f50