Skip to content

Commit 01656f6

Browse files
committed
fix path to zmq compilation, pass the right path to pyzmq configure
1 parent fc2a373 commit 01656f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

recipes/pyzmq/recipe.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ function build_pyzmq() {
2828
# fake try to be able to cythonize generated files
2929
echo <<END >setup.cfg
3030
[global]
31-
zmq_prefix = /home/tito/code/python-for-android/build/install/
31+
zmq_prefix = $BUILD_PATH/install/
3232
have_sys_un_h = False
3333
END
3434

35-
bash
36-
$BUILD_PATH/python-install/bin/python.host setup.py build_ext
35+
$SHELL
36+
$BUILD_PATH/python-install/bin/python.host setup.py build_ext --zmq=$BUILD_PATH/install/
37+
3738
try find build/lib.* -name "*.o" -exec $STRIP {} \;
3839
try $BUILD_PATH/python-install/bin/python.host setup.py install -O2
3940

0 commit comments

Comments
 (0)