From a1609ae714efbfb63e2c28c67d2c7d8ccc739d85 Mon Sep 17 00:00:00 2001 From: wowario Date: Tue, 6 Apr 2021 22:18:46 +0300 Subject: [PATCH] fix static unbound patch --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d0077bc..23de742 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -127,8 +127,7 @@ if(STATIC) # manually set the unbound submodule the right commit that has the fix. # This only works with -DMANUAL_SUBMODULES=1 message("\n${BoldYellow}applying unbound static build fix contrib/unbound_static.patch\n${ResetColor}") - execute_process(COMMAND bash -c "git -C ${CMAKE_SOURCE_DIR}/external/wownero/external/unbound apply ${CMAKE_SOURCE_DIR}/contrib/unbound_static.patch") - + execute_process(COMMAND bash -c "patch -p1 ${CMAKE_SOURCE_DIR}/external/wownero/external/unbound/configure_checks.cmake < ${CMAKE_SOURCE_DIR}/contrib/unbound_static.patch") set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_STATIC_RUNTIME ON) add_definitions(-DMONERO_GUI_STATIC)