mirror of
https://github.com/monero-project/monero.git
synced 2026-01-24 05:14:26 +01: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:
@@ -68,3 +68,7 @@ main()
|
|||||||
if(NOT Readline_LIBRARY)
|
if(NOT Readline_LIBRARY)
|
||||||
set(Readline_LIBRARY "")
|
set(Readline_LIBRARY "")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(Readline_LIBRARY AND OPENBSD)
|
||||||
|
list(APPEND EXTRA_LIBRARIES curses)
|
||||||
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user