diff --git a/r2-bindings/Makefile b/r2-bindings/Makefile index 6053dd9342..6c12bbf89f 100644 --- a/r2-bindings/Makefile +++ b/r2-bindings/Makefile @@ -161,7 +161,7 @@ install-python: LUAPATH=$(shell strings `../sys/whereis.sh lua`| grep lib/lua | cut -d ';' -f 2 | grep '.so' | cut -d '?' -f 1) -LUAPKG=$(shell pkg-config --list-all|awk '/lua-/{print $$1;}') +LUAPKG=$(shell pkg-config --list-all|awk '/lua|lua-/{print $$1;}') ifneq (${LUAPKG},) LUADIR=$(shell pkg-config --variable=INSTALL_CMOD ${LUAPKG}) lua-install install-lua: diff --git a/r2-bindings/configure.hook b/r2-bindings/configure.hook index 2ccc4d07ee..e0e5d7cae5 100755 --- a/r2-bindings/configure.hook +++ b/r2-bindings/configure.hook @@ -8,6 +8,6 @@ case "$1" in printf "==> Using valabind " valabind --version printf "==> Using swig " - swig -version | grep Version |cut -d ' ' -f3 + swig -version | grep Version | cut -d ' ' -f3 ./configure-langs $@ esac