Skip to content
This repository was archived by the owner on Jan 18, 2024. It is now read-only.

Commit 1812915

Browse files
committed
Include the pyconfig.h which pip needs
1 parent f43aca8 commit 1812915

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qpyc36.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ find ${PYSRC} -name __pycache__ -exec rm -fr {} \;
4242
# Copy resources
4343
cp ${PYSRC}/usr/bin/python3.6m $DST/bin/python3-android5
4444
cp $ASSRC/bin/* $DST/bin
45-
cp ${PYSRC}/usr/lib/python3.6/config-3.6m/Makefile $DST/lib/python3.6/config-3.6m
45+
touch $DST/lib/python3.6/config-3.6m/Makefile
46+
touch $DST/include/python3.6m/pyconfig.h
4647
cp ${PYSRC}/usr/lib/python3.6/lib-dynload/* $DST/lib/python3.6/lib-dynload
4748
cd ${PYSRC}/usr/lib/python3.6 && zip -r $DST/lib/python36.zip * --exclude lib-dynload
4849

0 commit comments

Comments
 (0)