From 3d47a69b0c8e7e1afe38788592e2c14e4e1987a4 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Thu, 16 Jan 2020 12:45:15 +0100 Subject: [PATCH] libseccomp: add seccomp-syscalls.h to InstallDev In the version 2.4.2, there was introduced a new header file. Ship it to InstallDev Signed-off-by: Josef Schlehofer --- libs/libseccomp/Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/libs/libseccomp/Makefile b/libs/libseccomp/Makefile index ecc075a8c2..f391572952 100644 --- a/libs/libseccomp/Makefile +++ b/libs/libseccomp/Makefile @@ -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 @@ -59,15 +59,10 @@ endef define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib/pkgconfig - $(CP) \ - $(PKG_INSTALL_DIR)/usr/include/seccomp.h \ - $(1)/usr/include/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/libseccomp.{a,so*} \ - $(1)/usr/lib/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libseccomp.pc \ - $(1)/usr/lib/pkgconfig/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/seccomp.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/seccomp-syscalls.h $(1)/usr/include/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libseccomp.{a,so*} $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libseccomp.pc $(1)/usr/lib/pkgconfig/ endef define Package/libseccomp/install -- 2.30.2