mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 06:04:31 +04:00
python: fix cross-compiling C++ modules.
Signed-off-by: Attila Lendvai <attila@lendvai.name>
This commit is contained in:
committed by
Karl Palsson
parent
d003d3c06d
commit
2bb9f6b9c7
@@ -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)" \
|
||||
|
||||
Reference in New Issue
Block a user