File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,11 +17,14 @@ function build_pyyaml() {
1717 push_arm
1818
1919 export CC=" $CC -I$BUILD_libyaml /include"
20- export LDFLAGS=" $LDFLAGS -L$LIBS_PATH -L$BUILD_libyaml /src/.libs"
20+ export LDFLAGS=" $LDFLAGS -L$LIBS_PATH -L$BUILD_libyaml /src/.libs -static"
21+
22+ sed -i -e " s|#include_dirs=/usr/local/include:../../include|include_dirs=${BUILD_libyaml} /include|" setup.cfg
23+ sed -i -e " s|#library_dirs=/usr/local/lib:../../lib|library_dirs=${BUILD_libyaml} /src/.libs|" setup.cfg
2124
2225 try find . -iname ' *.pyx' -exec cython {} \;
2326 try $BUILD_PATH /python-install/bin/python.host setup.py build_ext -v
24- try find build/lib.* -name " *.o" -exec $STRIP {} \;
27+ # try find build/lib.* -name "*.o" -exec $STRIP {} \;
2528 try $BUILD_PATH /python-install/bin/python.host setup.py --with-libyaml install -O2
2629
2730 pop_arm
You can’t perform that action at this time.
0 commit comments