diff --git a/var/spack/repos/builtin/packages/imagemagick/package.py b/var/spack/repos/builtin/packages/imagemagick/package.py index e3dea86425..38208f42de 100644 --- a/var/spack/repos/builtin/packages/imagemagick/package.py +++ b/var/spack/repos/builtin/packages/imagemagick/package.py @@ -21,6 +21,7 @@ class Imagemagick(AutotoolsPackage): depends_on('jpeg') depends_on('pango') depends_on('libtool', type='build') + depends_on('libtool', when='@7.0.8:', type=('build', 'link')) depends_on('libpng') depends_on('freetype') depends_on('fontconfig')