SHA256
10
0
forked from pool/lua-luv

- Add lua54 as new build target and fix problems with

compatibility with it.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luv?expand=0&rev=21
This commit is contained in:
2020-07-09 16:43:24 +00:00
committed by Git OBS Bridge
parent b60adda1c9
commit e66f279596
2 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
-------------------------------------------------------------------
Mon Jul 6 19:06:47 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add lua54 as new build target
- Add lua54 as new build target and fix problems with
compatibility with it.
-------------------------------------------------------------------
Sun Apr 12 12:30:52 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -61,9 +61,7 @@ ExclusiveArch: do_not_build
BuildRequires: %{flavor}-devel
BuildRequires: %{flavor}-luafilesystem
Requires: %{flavor}
%if "%{flavor}" == "lua51"
BuildRequires: %{flavor}-compat-5.3
%endif
# not SUSE
%else
BuildRequires: lua-devel
@@ -132,6 +130,7 @@ rm -fv tests/test-dns.lua
-DBUILD_STATIC_LIBS=OFF -DCMAKE_INSTALL_DO_STRIP=OFF \
-DBUILD_MODULE=OFF -DBUILD_SHARED_LIBS=ON \
-DWITH_SHARED_LIBUV=ON -DWITH_LUA_ENGINE=Lua \
-DLUA_INCLUDE_DIR:PATH="%{lua_incdir}" \
-DLUA_BUILD_TYPE=System -DLUA_COMPAT53_DIR="%{lua_incdir}/"
( cd build ; make )
%endif
@@ -143,6 +142,7 @@ rm -fv tests/test-dns.lua
-DBUILD_STATIC_LIBS=OFF -DCMAKE_INSTALL_DO_STRIP=OFF \
-DBUILD_MODULE=ON -DBUILD_SHARED_LIBS=ON \
-DWITH_SHARED_LIBUV=ON -DWITH_LUA_ENGINE=Lua \
-DLUA_INCLUDE_DIR:PATH="%{lua_incdir}" \
-DLUA_BUILD_TYPE=System -DLUA_COMPAT53_DIR="%{lua_incdir}/"
( cd build ; make )