1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

Use load-extension instead of explicit dynamic-link/dynamic-call.

Removed ".so" extension from library name.
This commit is contained in:
Marius Vollmer 2001-08-26 21:52:33 +00:00
parent f91fc9cdd3
commit 7e8ef316ad

View file

@ -35,7 +35,7 @@
;;; but only when it isn't already present.
(if (not (feature? 'readline))
(dynamic-call "scm_init_readline" (dynamic-link "libguilereadline.so")))
(load-extension "libguilereadline" "scm_init_readline"))
(if (not (feature? 'readline))
(scm-error 'misc-error