summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2020-07-11 09:42:43 +0000
committerDaniel Golle2020-07-11 09:46:55 +0000
commit347367193dc2df7d8c2578b426089c11adbc4f6b (patch)
tree2eb035572029b1821721a47e5319158eedbcd120
parentf1aa7a79d8c0bd3f95adb782cd67575e48dc73e5 (diff)
downloadprocd-347367193dc2df7d8c2578b426089c11adbc4f6b.tar.gz
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 <daniel@makrotopia.org>
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)