File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ function prebuild_python() {
33
33
system=$( uname -s)
34
34
if [ " X$system " == " XDarwin" ]; then
35
35
try patch -p1 < $RECIPE_python /patches/fix-configure-darwin.patch
36
+ try patch -p1 < $RECIPE_python /patches/fix-distutils-darwin.patch
36
37
fi
37
38
38
39
# everything done, touch the marker !
@@ -62,6 +63,9 @@ function build_python() {
62
63
export LDFLAGS=" $LDFLAGS -L$BUILD_openssl /"
63
64
fi
64
65
66
+ # dunno why on darwin this is not working...
67
+ export LDFLAGS=" $LDFLAGS -L$BUILD_python -lpython2.7"
68
+
65
69
try ./configure --host=arm-eabi --prefix=" $BUILD_PATH /python-install" --enable-shared --disable-toolbox-glue --disable-framework
66
70
echo ./configure --host=arm-eabi --prefix=" $BUILD_PATH /python-install" --enable-shared --disable-toolbox-glue --disable-framework
67
71
echo $MAKE HOSTPYTHON=$BUILD_python /hostpython HOSTPGEN=$BUILD_python /hostpgen CROSS_COMPILE_TARGET=yes INSTSONAME=libpython2.7.so
You can’t perform that action at this time.
0 commit comments