1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-18 13:23:57 +02:00

python: fix cross-compiling C++ modules.

Signed-off-by: Attila Lendvai <attila@lendvai.name>
This commit is contained in:
Attila Lendvai 2015-09-27 22:54:02 +02:00 committed by Karl Palsson
parent d003d3c06d
commit 2bb9f6b9c7

View 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)" \