libseccomp: install missing header file

As of version 2.4.2, libseccomp ships a new header file
seccomp-syscalls.h. Install it in InstallDev.

Fixes: 71b663b335 ("libseccomp: update to version 2.4.2")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Stijn Tintel 2020-01-17 00:33:31 +02:00
parent c131843663
commit c01462dcba

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libseccomp
PKG_VERSION:=2.4.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_USE_MIPS16:=0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@ -67,7 +67,7 @@ endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib/pkgconfig
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/seccomp.h \
$(PKG_INSTALL_DIR)/usr/include/seccomp*.h \
$(1)/usr/include/
$(CP) \
$(PKG_INSTALL_DIR)/usr/lib/libseccomp.{a,so*} \