diff options
author | Milton Woods <miltonjwoods@gmail.com> | 2019-07-02 03:47:04 +1000 |
---|---|---|
committer | Elizabeth Fischer <elizabeth.fischer@columbia.edu> | 2019-07-01 13:47:04 -0400 |
commit | 685697274589f791f98c46454806401cf4de93c7 (patch) | |
tree | f92a662870bf6d4cbe4e916189673dce35bdb071 /var/spack | |
parent | 8ca5c3685a8417c0f7e1d977267447de9dd78c9e (diff) | |
download | spack-685697274589f791f98c46454806401cf4de93c7.tar.gz spack-685697274589f791f98c46454806401cf4de93c7.tar.bz2 spack-685697274589f791f98c46454806401cf4de93c7.tar.xz spack-685697274589f791f98c46454806401cf4de93c7.zip |
tk: avoid search for X headers and libraries (#11892)
Diffstat (limited to 'var/spack')
-rw-r--r-- | var/spack/repos/builtin/packages/tk/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/tk/package.py b/var/spack/repos/builtin/packages/tk/package.py index 81f419ad4f..c9bc2ce3e6 100644 --- a/var/spack/repos/builtin/packages/tk/package.py +++ b/var/spack/repos/builtin/packages/tk/package.py @@ -65,7 +65,9 @@ class Tk(AutotoolsPackage): def configure_args(self): spec = self.spec - return ['--with-tcl={0}'.format(spec['tcl'].prefix.lib)] + return ['--with-tcl={0}'.format(spec['tcl'].prefix.lib), + '--x-includes={0}'.format(spec['libx11'].prefix.include), + '--x-libraries={0}'.format(spec['libx11'].prefix.lib)] @run_after('install') def symlink_wish(self): |