From: Daniel Golle Date: Sat, 11 Jul 2020 09:42:43 +0000 (+0100) Subject: ujail: add dependency on syscall-names-h X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=347367193dc2df7d8c2578b426089c11adbc4f6b;p=project%2Fprocd.git ujail: add dependency on syscall-names-h Makes sure syscall-names.h gets generated before trying to compile ujail with OCI seccomp support. Signed-off-by: Daniel Golle --- diff --git a/CMakeLists.txt b/CMakeLists.txt index fa90193..b149a06 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,6 +127,9 @@ INSTALL(TARGETS uxc RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR} ) endif() +IF(SECCOMP_SUPPORT) + ADD_DEPENDENCIES(ujail syscall-names-h) +ENDIF() IF(UTRACE_SUPPORT) ADD_EXECUTABLE(utrace trace/trace.c)