Skip to content

Commit

Permalink
py-pillow: ensure that RPATH includes graphics libraries (spack#4522)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjwoods authored and adamjstewart committed Jun 16, 2017
1 parent fe7bf77 commit f6e3ad4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion var/spack/repos/builtin/packages/py-pillow/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,6 @@ def variant_to_flag(variant):
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

0 comments on commit f6e3ad4

Please sign in to comment.