fix static unbound patch

pull/39/head
wowario 3 years ago
parent cbb5b68d02
commit a1609ae714
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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)

Loading…
Cancel
Save