chiark / gitweb /
python: Fix build with clang for real
authorFredrik Fornwall <fredrik@fornwall.net>
Tue, 17 Jan 2017 21:06:27 +0000 (22:06 +0100)
committerFredrik Fornwall <fredrik@fornwall.net>
Tue, 17 Jan 2017 21:06:27 +0000 (22:06 +0100)
packages/python2/build.sh

index 91589cc35bc34ffa22a7dc349822053b7e5bbcc0..d8f4639afc5f16406c213e925075df529427b9ef 100644 (file)
@@ -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 () {