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,15 +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 -static "
20+ export LDFLAGS=" $LDFLAGS -L$LIBS_PATH -L$BUILD_libyaml /src/.libs"
2121
22- # broken: this seems to just nuke the path
22+ # this is only a test
2323 sed -i -e " s|#include_dirs=/usr/local/include:../../include|include_dirs=${BUILD_libyaml} /include|" setup.cfg
24- sed -i -e " s|#library_dirs=/usr/local/lib:../../lib|library_dirs=${BUILD_libyaml} /src/.libs|" setup.cfg
24+ sed -i -e " s|#library_dirs=/usr/local/lib:../../lib|library_dirs=${LIBS_PATH} : ${ BUILD_libyaml} /src/.libs|" setup.cfg
2525
2626 try find . -iname ' *.pyx' -exec cython {} \;
2727 try $BUILD_PATH /python-install/bin/python.host setup.py build_ext -v
28- # try find build/lib.* -name "*.o" -exec $STRIP {} \;
2928 try $BUILD_PATH /python-install/bin/python.host setup.py --with-libyaml install -O2
3029
3130 pop_arm
You can’t perform that action at this time.
0 commit comments