summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2021-03-04 21:54:08 +0100
committerAndy Wingo <wingo@pobox.com>2021-03-04 21:54:08 +0100
commitaaa8f201e9bae914421cc98660bfb64cd15a91c0 (patch)
treeb3bb826a6e56182a109e5164598018858654f6a9
parent579870abbc5cce00793933a9ab81b93e138f68da (diff)
downloadguile-aaa8f201e9bae914421cc98660bfb64cd15a91c0.tar.gz
Update reference for GUILE_EXTENSIONS_PATH
* NEWS: Update. * doc/ref/guile-invoke.texi (Environment Variables): Add entry.
-rw-r--r--NEWS6
-rw-r--r--doc/ref/guile-invoke.texi10
2 files changed, 12 insertions, 4 deletions
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