Update ubuntu-python-builder.psm1

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-04-12 20:38:05 +05:30 committed by GitHub
parent f9a3b2a3c2
commit db232b636a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,10 +48,9 @@ class UbuntuPythonBuilder : NixPythonBuilder {
$configureString += " --enable-loadable-sqlite-extensions" $configureString += " --enable-loadable-sqlite-extensions"
} }
if ($this.Version -ge "3.11.0" -or 1) { if ($this.Version -ge "3.11.0-alpha.7") {
$configureString += "CC=gcc CXX=g++ TCLTK_CFLAGS=-I/usr/include/tcl8.6 TCLTK_LIBS=`"-ltcl8.6 -ltk8.6`"" $configureString += "CC=gcc CXX=g++ TCLTK_CFLAGS=-I/usr/include/tcl8.6 TCLTK_LIBS=`"-ltcl8.6 -ltk8.6`""
} }
Write-Host $configureString, $this.Version
Execute-Command -Command $configureString Execute-Command -Command $configureString
} }