From 4fb1444678a8a017ab3a388d206e74f4d4b30fee Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 6 Jun 2022 22:26:12 +0530 Subject: 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. --- pre-inst-env.in | 4 ++-- 1 file 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 +# Copyright © 2020, 2022 Arun Isaac # # 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 "$@" -- cgit v1.2.3