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

index 293a50d859dd7d309de6df6a1b0b0629b3343817..a28bc01fc0f5e5e63538be2b902c84a689f3b74a 100644 (file)
@@ -51,6 +51,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"
        # 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_configure () {
 }
 
 termux_step_post_configure () {