Browse Source

python: fix cross-compiling C++ modules.

Signed-off-by: Attila Lendvai <attila@lendvai.name>
lilik-openwrt-22.03
Attila Lendvai 9 years ago
committed by Karl Palsson
parent
commit
2bb9f6b9c7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lang/python/files/python-package.mk

+ 1
- 0
lang/python/files/python-package.mk 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)" \


Loading…
Cancel
Save