python: fix cross-compiling C++ modules.
authorAttila Lendvai <attila@lendvai.name>
Sun, 27 Sep 2015 20:54:02 +0000 (22:54 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Sun, 13 Dec 2015 18:20:02 +0000 (20:20 +0200)
Signed-off-by: Attila Lendvai <attila@lendvai.name>
lang/python/files/python-package.mk

index 4895b91a1748d8ad7f60918e490364bf4354fb72..9b011602f9b4c12e4655842a3f2d0f6373c051a7 100644 (file)
@@ -103,6 +103,7 @@ define Build/Compile/PyMod
                cd $(PKG_BUILD_DIR)/$(strip $(1)); \
                CC="$(TARGET_CC)" \
                CCSHARED="$(TARGET_CC) $(FPIC)" \
+               CXX="$(TARGET_CXX)" \
                LD="$(TARGET_CC)" \
                LDSHARED="$(TARGET_CC) -shared" \
                CFLAGS="$(TARGET_CFLAGS)" \