add $libir to the ltdl path, not $pkglibdir; add extensionsdir
authorAndy Wingo <wingo@pobox.com>
Tue, 13 Oct 2009 09:31:02 +0000 (11:31 +0200)
committerAndy Wingo <wingo@pobox.com>
Tue, 13 Oct 2009 09:31:02 +0000 (11:31 +0200)
commit28af5ee5eccb7797b73ad1caf88183e95eef0a28
tree31c9c7e26f3513c0d7581244322f0cd191c6e741
parentd71db1f9a984b8bbd5879bd09a98ac2444ea7eb2
add $libir to the ltdl path, not $pkglibdir; add extensionsdir

* libguile/Makefile.am (libpath.h): Fix SCM_LIB_DIR to point to the
  libdir, not pkglibdir. Add SCM_EXTENSIONS_DIR, for a dir to put in the
  dynamic-link search path that's not managed by ldconfig or the like;
  and put this dir in the "extensionsdir" key of %guile-build-info.

* libguile/dynl.c (sysdep_dynl_init): Rename the installed-libdir
  environment var to GUILE_SYSTEM_EXTENSIONS_PATH (from
  GUILE_SYSTEM_LTDL_PATH). Also add SCM_EXTENSIONS_DIR to the ltdl
  search path in the default case.
* meta/uninstalled-env.in: Adapt override to match.

* meta/guile-2.0.pc.in: Add extensionsdir, so you can pkg-config
  --variable=extensionsdir guile-2.0.
libguile/Makefile.am
libguile/dynl.c
meta/guile-2.0.pc.in
meta/uninstalled-env.in