aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/lua
diff options
context:
space:
mode:
authorJames Taylor <james@jtaylor.id.au>2019-06-05 22:22:15 +1000
committerHauke Mehrtens <hauke@hauke-m.de>2019-08-18 14:06:24 +0200
commiteff6e106044af06c022ca8689d08b4ba8b0ee5c0 (patch)
tree1104ed0f6108a4d72f4baa5709bc1ac74762838b /package/utils/lua
parent397faa6e7ce5c9241f03578a1f155da1842fafa5 (diff)
downloadupstream-eff6e106044af06c022ca8689d08b4ba8b0ee5c0.tar.gz
upstream-eff6e106044af06c022ca8689d08b4ba8b0ee5c0.tar.bz2
upstream-eff6e106044af06c022ca8689d08b4ba8b0ee5c0.zip
lua: add lua.hpp to InstallDev
This is necessary to build PowerDNS authoritative and recursor against OpenWRT, and may avoid packages depending on lua/host unnecessarily. Signed-off-by: James Taylor <james@jtaylor.id.au>
Diffstat (limited to 'package/utils/lua')
-rw-r--r--package/utils/lua/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/utils/lua/Makefile b/package/utils/lua/Makefile
index c911c6a913..a2870448bd 100644
--- a/package/utils/lua/Makefile
+++ b/package/utils/lua/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=lua
PKG_VERSION:=5.1.5
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.lua.org/ftp/ \
@@ -138,6 +138,7 @@ endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/lua{,lib,conf}.h $(1)/usr/include/
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/lua.hpp $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/lauxlib.h $(1)/usr/include/
$(CP) $(PKG_INSTALL_DIR)/usr/include/lnum_config.h $(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib