aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "$@"