Skip to content

Commit c68257c

Browse files
committed
fix _scproxy on osx
1 parent 6d02b8c commit c68257c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

recipes/python/recipe.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ function build_python() {
8888
$MAKE install HOSTPYTHON=$BUILD_python/hostpython HOSTPGEN=$BUILD_python/hostpgen CROSS_COMPILE_TARGET=yes INSTSONAME=libpython2.7.so
8989
pop_arm
9090

91+
system=$(uname -s)
92+
if [ "X$system" == "XDarwin" ]; then
93+
try cp $RECIPE_python/patches/_scproxy.py $BUILD_python/Lib/
94+
fi
9195
try cp $BUILD_hostpython/hostpython $BUILD_PATH/python-install/bin/python.host
9296
try cp libpython2.7.so $LIBS_PATH/
9397
}

0 commit comments

Comments
 (0)