Skip to content
Snippets Groups Projects
Commit 0468236b authored by Marek Vavruša's avatar Marek Vavruša
Browse files

build: do not rewrite lua.pc for bootstrapped Lua

parent acdc0ab4
Branches
Tags
No related merge requests found
......@@ -107,6 +107,7 @@ pkg cmocka ${CMOCKA_URL} ${CMOCKA_TAG} include/cmocka.h
pkg libuv ${LIBUV_URL} ${LIBUV_TAG} include/uv.h --disable-static
# lua
pkg lua ${LUA_URL} ${LUA_TAG} include/lua.h generic install INSTALL_TOP=${PREFIX}
if [ ! -f ${PREFIX}/lib/pkgconfig/lua.pc ]; then
cat > ${PREFIX}/lib/pkgconfig/lua.pc << EOF
prefix=${PREFIX}
exec_prefix=\${prefix}
......@@ -120,6 +121,7 @@ Requires:
Libs: -L\${libdir} -llua -lm
Cflags: -I\${includedir}
EOF
fi
# remove on successful build
rm -rf ${BUILD_DIR}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment