libzmq: add platform conditions to libbsd dependency (#20893)

This commit is contained in:
a-saitoh-fj 2021-01-15 17:50:49 +09:00 committed by GitHub
parent 1998630ca2
commit de085efd7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,8 @@ class Libzmq(AutotoolsPackage):
depends_on('libtool', type='build', when='@develop') depends_on('libtool', type='build', when='@develop')
depends_on('pkgconfig', type='build') 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') conflicts('%gcc@8:', when='@:4.2.2')