From de085efd7deeb4918c1bc5ef9dedd40844c6dda8 Mon Sep 17 00:00:00 2001 From: a-saitoh-fj <63334055+a-saitoh-fj@users.noreply.github.com> Date: Fri, 15 Jan 2021 17:50:49 +0900 Subject: [PATCH] libzmq: add platform conditions to libbsd dependency (#20893) --- var/spack/repos/builtin/packages/libzmq/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/libzmq/package.py b/var/spack/repos/builtin/packages/libzmq/package.py index 7c125486bd..3e99bfd806 100644 --- a/var/spack/repos/builtin/packages/libzmq/package.py +++ b/var/spack/repos/builtin/packages/libzmq/package.py @@ -38,7 +38,8 @@ class Libzmq(AutotoolsPackage): depends_on('libtool', type='build', when='@develop') depends_on('pkgconfig', type='build') - depends_on('libbsd', type='link', when='@4.3.3:') + depends_on('libbsd', type='link', when='@4.3.3: platform=linux') + depends_on('libbsd', type='link', when='@4.3.3: platform=cray') conflicts('%gcc@8:', when='@:4.2.2')