This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
python3: export CC + CCSHARED env vars to cross-compile Python C extensions properly
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean
10 years ago
committed by
Alexandru Ardelean
parent
5bf4866fd9
commit
f729ba98c5
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
lang/python3/files/python3-package.mk
+ 2
- 0
lang/python3/files/python3-package.mk
View File
@ -72,6 +72,8 @@ endef
d
e
f
i
n
e
B
u
i
l
d
/
C
o
m
p
i
l
e
/
P
y
3
M
o
d
$(
call HostPython3,
\
cd
$(
PKG_BUILD_DIR
)
/
$(
strip
$(
1
)
)
;
\
CC
=
"
$(
TARGET_CC
)
"
\
CCSHARED
=
"
$(
TARGET_CC
)
$(
FPIC
)
"
\
CFLAGS
=
"
$(
TARGET_CFLAGS
)
"
\
CPPFLAGS
=
"
$(
TARGET_CPPFLAGS
)
"
\
LDFLAGS
=
"
$(
TARGET_LDFLAGS
)
"
\
Write
Preview
Loading…
Cancel
Save