diff --git a/package/libseccomp/Config.in b/package/libseccomp/Config.in index 4e893c82b..4c34c5466 100644 --- a/package/libseccomp/Config.in +++ b/package/libseccomp/Config.in @@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBSECCOMP bool "libseccomp" depends on BR2_aarch64 || BR2_mips || BR2_mipsel || BR2_mips64 || \ BR2_mips64el || BR2_i386 || BR2_x86_64 + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 help High level interface to the Linux Kernel's seccomp filter @@ -13,3 +14,8 @@ config BR2_PACKAGE_LIBSECCOMP and easily adopted by application developers. https://github.com/seccomp/libseccomp + +comment "libseccomp needs a toolchain w/ headers >= 3.12" + depends on BR2_aarch64 || BR2_mips || BR2_mipsel || BR2_mips64 || \ + BR2_mips64el || BR2_i386 || BR2_x86_64 + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12