summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-06-06 22:26:12 +0530
committerArun Isaac2022-06-06 22:29:38 +0530
commit4fb1444678a8a017ab3a388d206e74f4d4b30fee (patch)
tree429fbd13fe3855a64571a7a5c91972d756e4b54b
parent4ad1f4d3629fb3717d174eeaeef575aee1646a4a (diff)
downloadguile-xapian-4fb1444678a8a017ab3a388d206e74f4d4b30fee.tar.gz
guile-xapian-4fb1444678a8a017ab3a388d206e74f4d4b30fee.tar.lz
guile-xapian-4fb1444678a8a017ab3a388d206e74f4d4b30fee.zip
pre-inst-env: Set LD_LIBRARY_PATH to $abs_top_builddir/.libs.
Guile >= 3.0.6 does not use libltdl. So we need to look for libguilexapian.so explicitly under .libs. * pre-inst-env.in (LD_LIBRARY_PATH): Set to $abs_top_builddir/.libs.
-rw-r--r--pre-inst-env.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pre-inst-env.in b/pre-inst-env.in
index f15728e..c2f6a26 100644
--- a/pre-inst-env.in
+++ b/pre-inst-env.in
@@ -1,7 +1,7 @@
#! /bin/sh
# guile-xapian --- Guile bindings for Xapian
-# Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
+# Copyright © 2020, 2022 Arun Isaac <arunisaac@systemreboot.net>
#
# This file is part of guile-xapian.
#
@@ -24,7 +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"
-LD_LIBRARY_PATH="$abs_top_builddir"
+LD_LIBRARY_PATH="$abs_top_builddir/.libs"
export GUILE_LOAD_COMPILED_PATH GUILE_LOAD_PATH LD_LIBRARY_PATH
exec "$@"