From: Attila Lendvai Date: Sun, 27 Sep 2015 20:54:02 +0000 (+0200) Subject: python: fix cross-compiling C++ modules. X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=2bb9f6b9c786ffdcd738ad3611ee1091d08ffc59;p=openwrt-packages.git python: fix cross-compiling C++ modules. Signed-off-by: Attila Lendvai --- diff --git a/lang/python/files/python-package.mk b/lang/python/files/python-package.mk index 5ab35195d..b4be3a8ee 100644 --- a/lang/python/files/python-package.mk +++ b/lang/python/files/python-package.mk @@ -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)" \