Set libs property for tcl and tk (#9372)
This commit is contained in:
parent
496bc3cd23
commit
bd801da1bf
2 changed files with 9 additions and 0 deletions
|
@ -93,6 +93,11 @@ def symlink_tclsh(self):
|
||||||
# ========================================================================
|
# ========================================================================
|
||||||
# Set up environment to make install easy for tcl extensions.
|
# Set up environment to make install easy for tcl extensions.
|
||||||
# ========================================================================
|
# ========================================================================
|
||||||
|
|
||||||
|
@property
|
||||||
|
def libs(self):
|
||||||
|
return LibraryList([])
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def command(self):
|
def command(self):
|
||||||
"""Returns the tclsh command.
|
"""Returns the tclsh command.
|
||||||
|
|
|
@ -47,6 +47,10 @@ class Tk(AutotoolsPackage):
|
||||||
|
|
||||||
configure_directory = 'unix'
|
configure_directory = 'unix'
|
||||||
|
|
||||||
|
@property
|
||||||
|
def libs(self):
|
||||||
|
return LibraryList([])
|
||||||
|
|
||||||
def setup_environment(self, spack_env, run_env):
|
def setup_environment(self, spack_env, run_env):
|
||||||
# When using Tkinter from within spack provided python+tk, python
|
# When using Tkinter from within spack provided python+tk, python
|
||||||
# will not be able to find Tcl/Tk unless TK_LIBRARY is set.
|
# will not be able to find Tcl/Tk unless TK_LIBRARY is set.
|
||||||
|
|
Loading…
Reference in a new issue