10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3486922 + 70e49ad commit ee52b38Copy full SHA for ee52b38
recipes/python/patches/_scproxy.py
@@ -0,0 +1,10 @@
1
+'''
2
+Stub functions for _scproxy on iOS
3
+No proxy is supported yet.
4
5
+
6
+def _get_proxy_settings():
7
+ return {'exclude_simple': 1}
8
9
+def _get_proxies():
10
+ return {}
recipes/python/recipe.sh
@@ -88,6 +88,10 @@ function build_python() {
88
$MAKE install HOSTPYTHON=$BUILD_python/hostpython HOSTPGEN=$BUILD_python/hostpgen CROSS_COMPILE_TARGET=yes INSTSONAME=libpython2.7.so
89
pop_arm
90
91
+ system=$(uname -s)
92
+ if [ "X$system" == "XDarwin" ]; then
93
+ try cp $RECIPE_python/patches/_scproxy.py $BUILD_python/Lib/
94
+ fi
95
try cp $BUILD_hostpython/hostpython $BUILD_PATH/python-install/bin/python.host
96
try cp libpython2.7.so $LIBS_PATH/
97
}
0 commit comments