SHA256
12
0
forked from pool/lua-mpack

- Specify all options to build for lua52 and lua53

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-mpack?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal 2017-07-14 11:17:50 +00:00 committed by Git OBS Bridge
parent d04159f6fc
commit ab4ad80a95
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,7 @@
Fri Jul 14 11:10:45 UTC 2017 - tchvatal@suse.com
- Switch to namespaced lua builds
- Specify all options to build for lua52 and lua53
-------------------------------------------------------------------
Tue Jul 4 16:57:57 UTC 2017 - ronisbr@gmail.com

View File

@ -62,7 +62,10 @@ popd
sed -i 's|LUA_CMOD_INSTALLDIR :=.*|LUA_CMOD_INSTALLDIR := $(shell echo "%{lua_archdir}")|g' Makefile
%build
make %{?_smp_mflags} USE_SYSTEM_LUA=yes
make %{?_smp_mflags} \
USE_SYSTEM_LUA=yes \
MPACK_LUA_VERSION=%{lua_version} \
CFLAGS="%{optflags} -fPIC"
%install
%make_install USE_SYSTEM_LUA=yes