mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 12:20:26 +02:00
Use load-extension instead of explicit dynamic-link/dynamic-call.
Removed ".so" extension from library name.
This commit is contained in:
parent
f91fc9cdd3
commit
7e8ef316ad
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
||||||
;;; but only when it isn't already present.
|
;;; but only when it isn't already present.
|
||||||
|
|
||||||
(if (not (feature? 'readline))
|
(if (not (feature? 'readline))
|
||||||
(dynamic-call "scm_init_readline" (dynamic-link "libguilereadline.so")))
|
(load-extension "libguilereadline" "scm_init_readline"))
|
||||||
|
|
||||||
(if (not (feature? 'readline))
|
(if (not (feature? 'readline))
|
||||||
(scm-error 'misc-error
|
(scm-error 'misc-error
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue