From c49093005d2915ae4ff02b6bd6056030ff35b645 Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Wed, 26 Jan 2022 13:54:48 +0000 Subject: [PATCH] fix(build): do not include plugins in musl builds Signed-off-by: Luca Guerra --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a561a046..a9e68fb1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -207,7 +207,9 @@ add_subdirectory(userspace/engine) add_subdirectory(userspace/falco) add_subdirectory(tests) -include(plugins) +if(NOT MUSL_OPTIMIZED_BUILD) + include(plugins) +endif() # Packages configuration include(CPackConfig)