From: Fredrik Fornwall Date: Tue, 17 Jan 2017 21:06:27 +0000 (+0100) Subject: python: Fix build with clang for real X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/termux-packages/commitdiff_plain/9760338bc23817955c554453329397ff9fffe560 python: Fix build with clang for real --- diff --git a/packages/python2/build.sh b/packages/python2/build.sh index 91589cc3..d8f4639a 100644 --- a/packages/python2/build.sh +++ b/packages/python2/build.sh @@ -54,6 +54,7 @@ termux_step_pre_configure() { # if extension modules should be built (specifically, the # zlib extension module is not built without this): CPPFLAGS+=" -I$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/include" + LDFLAGS+=" -L$TERMUX_STANDALONE_TOOLCHAIN/sysroot/usr/lib" } termux_step_post_make_install () {