From e9d49662e992cada4629377b4ba452e7e5569a40 Mon Sep 17 00:00:00 2001 From: anonimal Date: Wed, 20 Feb 2019 19:47:38 +0000 Subject: [PATCH] db_tests: use static zlib for build consistency The build is still fixed but, after further review, the zlib dynamic lib is never actually used in the zano build (sorry about that). As such, I think there should be build-consistency until further action is taken regarding any unnecessary dynamic dependency building. --- tests/db_tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/db_tests/CMakeLists.txt b/tests/db_tests/CMakeLists.txt index 2333a149..50d0e9df 100644 --- a/tests/db_tests/CMakeLists.txt +++ b/tests/db_tests/CMakeLists.txt @@ -1,3 +1,3 @@ add_executable(db_tests db_tests.cpp) -target_link_libraries(db_tests crypto common lmdb zlib ${Boost_LIBRARIES}) +target_link_libraries(db_tests crypto common lmdb zlibstatic ${Boost_LIBRARIES})