update: force deps to always use the system openssl

Co-authored-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
Leonardo Di Donato 2020-01-20 12:16:27 +00:00 committed by poiana
parent 5434afaee1
commit 182c07a31f
2 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,9 @@ add_subdirectory("${SYSDIG_SOURCE_DIR}/userspace/libscap" "${PROJECT_BINARY_DIR}
add_subdirectory("${SYSDIG_SOURCE_DIR}/userspace/libsinsp" "${PROJECT_BINARY_DIR}/userspace/libsinsp")
add_dependencies(sinsp tbb b64 luajit)
# explicitly force this dependency to use the system OpenSSL
set(USE_BUNDLED_OPENSSL OFF)
if(USE_BUNDLED_DEPS)
add_dependencies(scap grpc curl jq)
endif()

View File

@ -39,7 +39,6 @@ case "$CMD" in
-DFALCO_VERSION="$FALCO_VERSION" \
-DDRAIOS_DEBUG_FLAGS="$DRAIOS_DEBUG_FLAGS" \
-DUSE_BUNDLED_DEPS=ON \
-DUSE_BUNDLED_OPENSSL=OFF \
"$SOURCE_DIR/falco"
exit "$(printf '%d\n' $?)"
;;