From f6e3ad4d9058cacca1a01ffefae53bb354a75961 Mon Sep 17 00:00:00 2001 From: Milton Woods Date: Fri, 16 Jun 2017 23:43:18 +1000 Subject: py-pillow: ensure that RPATH includes graphics libraries (#4522) --- var/spack/repos/builtin/packages/py-pillow/package.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2