readline: explicitly load "libncurses"
Needed for OpenBSD
This commit is contained in:
parent
2bae950273
commit
3f9fea063f
|
@ -7,8 +7,10 @@
|
||||||
set-completion-function!
|
set-completion-function!
|
||||||
readline-newline readline-redisplay)
|
readline-newline readline-redisplay)
|
||||||
|
|
||||||
;; libtermcap needed on some platforms
|
;; libncurses and/or libtermcap needed on some platforms
|
||||||
(define libtermcap (with-handlers ([exn:fail? void]) (ffi-lib "libtermcap")))
|
(void (ffi-lib "libcurses" #:fail (lambda () #f)))
|
||||||
|
(void (ffi-lib "libtermcap" #:fail (lambda () #f)))
|
||||||
|
|
||||||
(define libreadline (ffi-lib "libreadline" '("5" "6" "4" "")))
|
(define libreadline (ffi-lib "libreadline" '("5" "6" "4" "")))
|
||||||
|
|
||||||
(define make-byte-string ; helper for the two types below
|
(define make-byte-string ; helper for the two types below
|
||||||
|
|
Loading…
Reference in New Issue
Block a user