Skip to content
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,19 @@ function build_lxml() {
21
21
push_arm
22
22
23
23
export CC=" $CC -I$BUILD_libxml2 /include -I$BUILD_libxslt "
24
- export LDFLAGS=" $LDFLAGS -L$BUILD_libxslt /libxslt/.libs -L$BUILD_libxslt /libexslt/.libs -L$BUILD_libxml2 /.libs"
24
+ export LDFLAGS=" -L$BUILD_libxslt /libxslt/.libs -L$BUILD_libxslt /libexslt/.libs -L$BUILD_libxml2 /.libs -L $BUILD_libxslt /libxslt -L $BUILD_libxslt /libexslt -L $BUILD_libxml2 / $LDFLAGS "
25
25
export LDSHARED=" $LIBLINK "
26
26
27
- try $BUILD_PATH /python-install/bin/python.host setup.py build_ext
28
- try $BUILD_PATH /python-install/bin/python.host setup.py install -O2
27
+ chmod +x $BUILD_libxslt /xslt-config
28
+ export PATH=$PATH :$BUILD_libxslt
29
+
30
+ try $BUILD_PATH /python-install/bin/python.host setup.py build_ext -I$BUILD_libxml2 /include -I$BUILD_libxslt
31
+ try find . -iname ' *.pyx' -exec cython {} \;
32
+ try $BUILD_PATH /python-install/bin/python.host setup.py build_ext -v
33
+ try find build/lib.* -name " *.o" -exec $STRIP {} \;
34
+
35
+ export PYTHONPATH=$BUILD_hostpython /Lib/site-packages
36
+ try $BUILD_hostpython /hostpython setup.py install -O2 --root=$BUILD_PATH /python-install --install-lib=lib/python2.7/site-packages
29
37
30
38
unset LDSHARED
31
39
pop_arm
You can’t perform that action at this time.
0 commit comments