From 030962471adb74c266126b6c3a2bd6e2a6b2d66c Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 24 Feb 2020 10:02:09 -0500 Subject: Add --with-tcltk-* configure arguments --- python/build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'python') 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 } - -- cgit