Skip to content

Commit 006d406

Browse files
committed
pyyaml recipe now compiles
1 parent 9c37e3d commit 006d406

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

recipes/pyyaml/recipe.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)