projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b2c370
)
python: fix cross-compiling C++ modules.
author
Attila Lendvai
<attila@lendvai.name>
Sun, 27 Sep 2015 20:54:02 +0000
(22:54 +0200)
committer
Alexandru Ardelean
<ardeleanalex@gmail.com>
Sun, 13 Dec 2015 18:20:02 +0000
(20:20 +0200)
Signed-off-by: Attila Lendvai <attila@lendvai.name>
lang/python/files/python-package.mk
patch
|
blob
|
history
diff --git
a/lang/python/files/python-package.mk
b/lang/python/files/python-package.mk
index 4895b91a1748d8ad7f60918e490364bf4354fb72..9b011602f9b4c12e4655842a3f2d0f6373c051a7 100644
(file)
--- a/
lang/python/files/python-package.mk
+++ b/
lang/python/files/python-package.mk
@@
-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)" \