diff --git a/NEWS b/NEWS index 917679189..798fce1d6 100644 --- a/NEWS +++ b/NEWS @@ -30,7 +30,7 @@ standard "dlopen" interface, providing a limited shim for platforms with similar functionality exposed under different names (MinGW). This change has a few practical impacts to Guile users. There is a new -library search path variable, `GUILE_EXTENSIONS_DIR'. Also, errors when +library search path variable, `GUILE_EXTENSIONS_PATH'. Also, errors when loading a library fails now have better errors. And Guile no longer has a libltdl dependency. @@ -96,9 +96,9 @@ See "Ports" in the manual. See "Bytevector Ports" in the manual. -** `GUILE_EXTENSIONS_DIR' environment variable. +** `GUILE_EXTENSIONS_PATH' environment variable. -FIXME +See "Environment Variables" in the manual. ** `mkdtemp' and `mkstemp' diff --git a/doc/ref/guile-invoke.texi b/doc/ref/guile-invoke.texi index 42bbd35f3..ee5f23e50 100644 --- a/doc/ref/guile-invoke.texi +++ b/doc/ref/guile-invoke.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. -@c Copyright (C) 1996-1997,2000-2005,2010-2011,2013-2014,2016,2019 +@c Copyright (C) 1996-1997,2000-2005,2010-2011,2013-2014,2016,2019,2021 @c Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @@ -400,6 +400,14 @@ guile -c '(display %load-path) (newline)' (Note: The line breaks, above, are for documentation purposes only, and not required in the actual example.) +@item GUILE_EXTENSIONS_PATH +@vindex GUILE_EXTENSIONS_PATH +This variable may be used to augment the path that is searched for +foreign libraries via @code{load-extension}, @code{dynamic-link}, +@code{load-foreign-library}, or the like. Its value should be a +colon-separated (semicolon on Windows) list of directories. +@xref{Foreign Libraries}. + @item GUILE_WARN_DEPRECATED @vindex GUILE_WARN_DEPRECATED As Guile evolves, some features will be eliminated or replaced by newer