diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-24 10:02:09 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-02-24 10:02:53 -0500 |
commit | 030962471adb74c266126b6c3a2bd6e2a6b2d66c (patch) | |
tree | 19b04f19022549ba77069da30d17b43c3a86ce09 | |
parent | 480f89c3a7265359bb1572bf8d005e0ab40d30f8 (diff) | |
download | spm_packages-030962471adb74c266126b6c3a2bd6e2a6b2d66c.tar.gz |
Add --with-tcltk-* configure arguments
-rw-r--r-- | python/build.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/build.sh b/python/build.sh index 2bf7a69..4ef55ae 100644 --- a/python/build.sh +++ b/python/build.sh @@ -1,6 +1,6 @@ #!/bin/bash name=python -version=3.7.5 +version=3.7.6 _basever=${version%.*} revision=0 sources=( @@ -42,9 +42,12 @@ function build() { export CFLAGS="${CFLAGS} -I${_runtime}/include/ncursesw" ./configure \ --prefix="${_prefix}" \ + --libdir="${_prefix}/lib" \ --enable-ipv6 \ --enable-loadable-sqlite-extensions \ --enable-shared \ + --with-tcltk-includes="$(pkg-config --cflags tcl) $(pkg-config --cflags tk)" \ + --with-tcltk-libs="$(pkg-config --libs tcl) $(pkg-config --libs tk)" \ --with-computed-gotos \ --with-dbmliborder=gdbm:ndbm \ --with-pymalloc \ @@ -67,4 +70,3 @@ function package() { chmod 755 "${_pkgdir}/${_prefix}"/lib/libpython${_basever%.*}.so } - |