python: fix cross-compiling C++ modules.
Signed-off-by: Attila Lendvai <attila@lendvai.name>
This commit is contained in:
parent
7b2c37067b
commit
a28067d30d
1 changed files with 1 additions and 0 deletions
|
@ -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)" \
|
||||
|
|
Loading…
Reference in a new issue