mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
fixed linking against libreadline on OpenBSD
To fix the linking error described here https://github.com/monero-project/monero/pull/2841#issuecomment-346129030 we also need to link libcurses.
This commit is contained in:
parent
9fad4008ef
commit
25f4ab81ce
1 changed files with 4 additions and 0 deletions
|
@ -68,3 +68,7 @@ main()
|
|||
if(NOT Readline_LIBRARY)
|
||||
set(Readline_LIBRARY "")
|
||||
endif()
|
||||
|
||||
if(Readline_LIBRARY AND OPENBSD)
|
||||
list(APPEND EXTRA_LIBRARIES curses)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue