environment-modules: fix build (#26632)
PR #25904 moved the `--with-tcl` option to only older versions. However, without this option, the build breaks: ``` checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions. Use --with-tcl to specify a directory containing tclConfig.sh ```
This commit is contained in:
parent
9194ca1e2f
commit
5deb8a05c4
@ -57,6 +57,8 @@ def install(self, spec, prefix):
|
||||
|
||||
config_args = [
|
||||
"--prefix=" + prefix,
|
||||
# It looks for tclConfig.sh
|
||||
"--with-tcl=" + tcl.libs.directories[0],
|
||||
'--datarootdir=' + prefix.share
|
||||
]
|
||||
|
||||
@ -117,8 +119,6 @@ def install(self, spec, prefix):
|
||||
config_args.extend([
|
||||
"--without-tclx",
|
||||
"--with-tclx-ver=0.0",
|
||||
# It looks for tclConfig.sh
|
||||
"--with-tcl=" + tcl.libs.directories[0],
|
||||
"--with-tcl-ver={0}".format(tcl.version.up_to(2)),
|
||||
'--disable-versioning'
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user