diff options
-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): |