summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/imagemagick/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/imagemagick/package.py b/var/spack/repos/builtin/packages/imagemagick/package.py
index 318ea03b89..848ac8c254 100644
--- a/var/spack/repos/builtin/packages/imagemagick/package.py
+++ b/var/spack/repos/builtin/packages/imagemagick/package.py
@@ -38,8 +38,8 @@ class Imagemagick(AutotoolsPackage):
depends_on("ghostscript-fonts", when="+ghostscript")
# TODO: are these actually required?
- depends_on("libsm")
- depends_on("libtool")
+ depends_on("libsm", when="platform=linux")
+ depends_on("libtool", when="platform=linux")
def configure_args(self):
args = []