summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilton Woods <miltonjwoods@gmail.com>2017-06-16 23:43:18 +1000
committerAdam J. Stewart <ajstewart426@gmail.com>2017-06-16 08:43:18 -0500
commitf6e3ad4d9058cacca1a01ffefae53bb354a75961 (patch)
tree78c00cd8e9cc9bd966e0c161f174a59a487ffe30
parentfe7bf77afeb11e3656d86e1e39d0c557cc5b7af8 (diff)
downloadspack-f6e3ad4d9058cacca1a01ffefae53bb354a75961.tar.gz
spack-f6e3ad4d9058cacca1a01ffefae53bb354a75961.tar.bz2
spack-f6e3ad4d9058cacca1a01ffefae53bb354a75961.tar.xz
spack-f6e3ad4d9058cacca1a01ffefae53bb354a75961.zip
py-pillow: ensure that RPATH includes graphics libraries (#4522)
-rw-r--r--var/spack/repos/builtin/packages/py-pillow/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-pillow/package.py b/var/spack/repos/builtin/packages/py-pillow/package.py
index 5729c5c3dd..6d35957819 100644
--- a/var/spack/repos/builtin/packages/py-pillow/package.py
+++ b/var/spack/repos/builtin/packages/py-pillow/package.py
@@ -129,4 +129,6 @@ class PyPillow(PythonPackage):
return '--{0}-{1}'.format(able, variant)
variants = ['jpeg', 'zlib', 'tiff', 'freetype', 'lcms', 'jpeg2000']
- return list(map(variant_to_flag, variants))
+ args = list(map(variant_to_flag, variants))
+ args.extend(['--rpath=%s' % ":".join(self.rpath)])
+ return args