Turn readline off on OpenBSD because it is broken

This commit is contained in:
Offshore Monero 2022-12-01 04:27:48 +00:00 committed by wowario
parent ebbc0ad06d
commit 72beb3d6cc
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -1159,7 +1159,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)