diff mbox

[OpenWrt-Devel] lua: host: install lnum_config.h

Message ID a9715f37d03102989003ea9dec09e834e8bf1f3b.1456848595.git.mschiffer@universe-factory.net
State Accepted
Headers show

Commit Message

Matthias Schiffer March 1, 2016, 4:09 p.m. UTC
One of the host patches introduces the new header file lnum_config.h
included by luaconf.h, but doesn't install it.

Install it to allow building C modules for the host Lua.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
---
 .../lua/patches-host/010-lua-5.1.3-lnum-full-260308.patch     | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox

Patch

diff --git a/package/utils/lua/patches-host/010-lua-5.1.3-lnum-full-260308.patch b/package/utils/lua/patches-host/010-lua-5.1.3-lnum-full-260308.patch
index 74b8c6f..2a04ce0 100644
--- a/package/utils/lua/patches-host/010-lua-5.1.3-lnum-full-260308.patch
+++ b/package/utils/lua/patches-host/010-lua-5.1.3-lnum-full-260308.patch
@@ -1,3 +1,14 @@ 
+--- a/Makefile
++++ b/Makefile
+@@ -42,7 +42,7 @@
+ 
+ # What to install.
+ TO_BIN= lua luac
+-TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
++TO_INC= lua.h luaconf.h lualib.h lauxlib.h lnum_config.h ../etc/lua.hpp
+ TO_LIB= liblua.a
+ TO_MAN= lua.1 luac.1
+ 
 --- a/src/Makefile
 +++ b/src/Makefile
 @@ -25,7 +25,7 @@ PLATS= aix ansi bsd freebsd generic linu