File: 0010-slib.sh-do-not-set-LD_LIBRARY_PATH-when-starting-Gam.patch

package info (click to toggle)
slib 3c1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,076 kB
  • sloc: lisp: 29,815; makefile: 1,165; sh: 953
file content (30 lines) | stat: -rw-r--r-- 748 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: Nick Gasson <nick@nickg.me.uk>
Date: Mon, 4 Jan 2021 21:39:14 +0800
Subject: slib.sh: do not set LD_LIBRARY_PATH when starting Gambit

This is not required when using the Debian package.

Forwarded: not-needed
---
 slib.sh | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/slib.sh b/slib.sh
index fd0ef04..a033f78 100755
--- a/slib.sh
+++ b/slib.sh
@@ -115,14 +115,6 @@ case $implementation in
      fi;;
 esac
 
-# for gambit
-case $implementation in
-  gam) if [ -z "${LD_LIBRARY_PATH}" ]; then
-	LD_LIBRARY_PATH=/usr/local/lib
-	export LD_LIBRARY_PATH
-	fi;;
-esac
-
 case $implementation in
     scm) exec $command -ip1 -l ${SCHEME_LIBRARY_PATH}scm.init "$@";;
     elk) exec $command -i -l ${SCHEME_LIBRARY_PATH}elk.init "$@";;