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:
parent
d04159f6fc
commit
ab4ad80a95
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user