Turn readline off on OpenBSD because it is broken

This commit is contained in:
Offshore Monero
2023-02-25 12:11:16 +03:00
committed by wowario
parent bd011fcae9
commit 9be78e756b
+3 -1
View File
@@ -1140,7 +1140,9 @@ if (HIDAPI_FOUND OR LibUSB_COMPILE_TEST_PASSED)
endif()
endif()
option(USE_READLINE "Build with GNU readline support." ON)
if(NOT OPENBSD)
option(USE_READLINE "Build with GNU readline support." ON)
endif()
if(USE_READLINE AND NOT DEPENDS)
find_package(Readline)
if(READLINE_FOUND AND GNU_READLINE_FOUND)