void-packages/srcpkgs/sysdig/patches/system-json-c++.patch

16 lines
457 B
Diff

--- a/userspace/sysdig/CMakeLists.txt
+++ b/userspace/sysdig/CMakeLists.txt
@@ -65,10 +65,9 @@ list(APPEND SOURCE_FILES_CSYSDIG
add_executable(sysdig ${SOURCE_FILES})
add_executable(csysdig ${SOURCE_FILES_CSYSDIG})
-add_dependencies(sysdig njson)
-add_dependencies(csysdig njson)
-
if(USE_BUNDLED_DEPS)
+ add_dependencies(sysdig njson)
+ add_dependencies(csysdig njson)
add_dependencies(sysdig yaml-cpp)
add_dependencies(csysdig yaml-cpp)
endif()