lua: host: install lnum_config.h
authorJohn Crispin <john@openwrt.org>
Fri, 4 Mar 2016 08:33:14 +0000 (08:33 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 4 Mar 2016 08:33:14 +0000 (08:33 +0000)
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>
SVN-Revision: 48907

package/utils/lua/patches-host/010-lua-5.1.3-lnum-full-260308.patch

index 74b8c6f8f07c82c26b203e907df0e6fad3966b16..2a04ce02dfdef32fb3084a31afc73ac0d1e1672b 100644 (file)
@@ -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