mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 18:54:30 +04:00
python: fix cross-compiling C++ modules.
Signed-off-by: Attila Lendvai <attila@lendvai.name>
This commit is contained in:
committed by
Alexandru Ardelean
parent
7b2c37067b
commit
a28067d30d
@@ -103,6 +103,7 @@ define Build/Compile/PyMod
|
|||||||
cd $(PKG_BUILD_DIR)/$(strip $(1)); \
|
cd $(PKG_BUILD_DIR)/$(strip $(1)); \
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
CCSHARED="$(TARGET_CC) $(FPIC)" \
|
CCSHARED="$(TARGET_CC) $(FPIC)" \
|
||||||
|
CXX="$(TARGET_CXX)" \
|
||||||
LD="$(TARGET_CC)" \
|
LD="$(TARGET_CC)" \
|
||||||
LDSHARED="$(TARGET_CC) -shared" \
|
LDSHARED="$(TARGET_CC) -shared" \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
|
|||||||
Reference in New Issue
Block a user