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.lede-project.org./?a=commitdiff_plain;h=a28067d30d056f68e0328f254127490ce6a85bfd;p=feed%2Fpackages.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 4895b91a17..9b011602f9 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)" \