libseccomp: install missing header file
authorStijn Tintel <redacted>
Thu, 16 Jan 2020 22:33:31 +0000 (00:33 +0200)
committerStijn Tintel <redacted>
Thu, 16 Jan 2020 22:55:42 +0000 (00:55 +0200)
As of version 2.4.2, libseccomp ships a new header file
seccomp-syscalls.h. Install it in InstallDev.

Fixes: 71b663b335da ("libseccomp: update to version 2.4.2")
Signed-off-by: Stijn Tintel <redacted>
Acked-by: Rosen Penev <redacted>
libs/libseccomp/Makefile

index a39250eecef0f8533484b2cabb5b3c143b9993c1..78fba9693696d400e8bfa0d18c38ed82a59b35db 100644 (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*} \
git clone https://git.99rst.org/PROJECT