Merge pull request #2874

25f4ab81 fixed linking against libreadline on OpenBSD (ston1th)
This commit is contained in:
Riccardo Spagni 2017-12-16 23:26:13 +02:00
commit ec63d64a67
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

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