diff options
author | sknigh <sknigh@sandia.gov> | 2018-09-27 19:34:18 -0700 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2018-09-27 19:34:18 -0700 |
commit | bd801da1bf906431602cf6f43f121bd3d07dd044 (patch) | |
tree | f288aa31c8a7bbd62ec41a8b1d30d3d157c05dde /var | |
parent | 496bc3cd23fd0745f1b73faa680a12262b12a091 (diff) | |
download | spack-bd801da1bf906431602cf6f43f121bd3d07dd044.tar.gz spack-bd801da1bf906431602cf6f43f121bd3d07dd044.tar.bz2 spack-bd801da1bf906431602cf6f43f121bd3d07dd044.tar.xz spack-bd801da1bf906431602cf6f43f121bd3d07dd044.zip |
Set libs property for tcl and tk (#9372)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/tcl/package.py | 5 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/tk/package.py | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tcl/package.py b/var/spack/repos/builtin/packages/tcl/package.py index e899ab55b4..bdbc8c397b 100644 --- a/var/spack/repos/builtin/packages/tcl/package.py +++ b/var/spack/repos/builtin/packages/tcl/package.py @@ -93,6 +93,11 @@ class Tcl(AutotoolsPackage): # ======================================================================== # Set up environment to make install easy for tcl extensions. # ======================================================================== + + @property + def libs(self): + return LibraryList([]) + @property def command(self): """Returns the tclsh command. diff --git a/var/spack/repos/builtin/packages/tk/package.py b/var/spack/repos/builtin/packages/tk/package.py index d765514bcf..5a12831453 100644 --- a/var/spack/repos/builtin/packages/tk/package.py +++ b/var/spack/repos/builtin/packages/tk/package.py @@ -47,6 +47,10 @@ class Tk(AutotoolsPackage): configure_directory = 'unix' + @property + def libs(self): + return LibraryList([]) + def setup_environment(self, spack_env, run_env): # When using Tkinter from within spack provided python+tk, python # will not be able to find Tcl/Tk unless TK_LIBRARY is set. |