fix building with lua/tolua++ 5.3

This commit is contained in:
Miroslav Lichvar 2016-05-03 18:38:51 +02:00
parent a2700877a9
commit 5269b37ff4
1 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,12 @@ It just keeps on given'er. Yeah.
# remove -Werror from CFLAGS
sed -i 's|-Werror||' cmake/ConkyBuildOptions.cmake
# our tolua++ is linked with lua 5.3
sed -i \
-e 's|\(LUA REQUIRED\) lua5.1 lua-5.1 lua51 lua|\1 lua>=5.3|' \
-e 's|\(NOT LUA_VERSION VERSION_LESS\) 5.2.0|\1 5.4.0|' \
cmake/ConkyPlatformChecks.cmake
# remove executable bits from files included in %{_docdir}
chmod a-x extras/convert.lua