diff options
author | Arun Isaac | 2020-02-19 00:09:16 +0530 |
---|---|---|
committer | Arun Isaac | 2020-02-19 00:09:16 +0530 |
commit | 7a7cad81e7ac6cad0c4cf8df61d174475282ec60 (patch) | |
tree | a3b4573088c22f1872ff2278a6729c71beef1aac | |
parent | 8e6a5dacbcd373f6e68c3adf0b13837c49593cab (diff) | |
download | guile-xapian-7a7cad81e7ac6cad0c4cf8df61d174475282ec60.tar.gz guile-xapian-7a7cad81e7ac6cad0c4cf8df61d174475282ec60.tar.lz guile-xapian-7a7cad81e7ac6cad0c4cf8df61d174475282ec60.zip |
Load libguilexapian without any specific path.
* pre-inst-env.in (LD_LIBRARY_PATH): Set LD_LIBRARY_PATH.
* xapian.i: Load libguilexapian without any specific path. Let it be found
using LD_LIBRARY_PATH and other search mechanisms.
-rw-r--r-- | pre-inst-env.in | 3 | ||||
-rw-r--r-- | xapian.i | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/pre-inst-env.in b/pre-inst-env.in index c0c694f..f15728e 100644 --- a/pre-inst-env.in +++ b/pre-inst-env.in @@ -24,6 +24,7 @@ abs_top_builddir="`cd "@abs_top_builddir@" > /dev/null; pwd -P`" GUILE_LOAD_COMPILED_PATH="$abs_top_builddir${GUILE_LOAD_COMPILED_PATH:+:}$GUILE_LOAD_COMPILED_PATH" GUILE_LOAD_PATH="$abs_top_builddir:$abs_top_srcdir${GUILE_LOAD_PATH:+:}$GUILE_LOAD_PATH" -export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH +LD_LIBRARY_PATH="$abs_top_builddir" +export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH LD_LIBRARY_PATH exec "$@" @@ -24,7 +24,7 @@ %scheme %{ -(load-extension "./libguilexapian" "SWIG_init") +(load-extension "libguilexapian" "SWIG_init") %} %include xapian-head.i |