blob: 0309475bb8ce720becb1f56bcdbbc32e82c4a594 (
plain) (
blame)
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
31
32
|
_AKKU="SPDX-License-Identifier: MIT"
_AKKU="Copyright (c) The Akku.scm Developers"
scheme_vars='
CHEZSCHEMELIBDIRS
GUILE_LOAD_PATH
IKARUS_LIBRARY_PATH
MOSH_LOADPATH
PLTCOLLECTS
SAGITTARIUS_LOADPATH
VICARE_SOURCE_PATH
YPSILON_SITELIB
LARCENY_LIBPATH
IRONSCHEME_LIBRARY_PATH
LOKO_LIBRARY_PATH
DIGAMMA_SITELIB
CHIBI_MODULE_PATH
GAUCHE_LOAD_PATH
'
addToAkkuEnv () {
adder="addToSearchPath"
for env_var in $scheme_vars; do
$adder $env_var "$1/lib/scheme-libs"
done
$adder GUILE_LOAD_COMPILED_PATH "$1/lib/libobj"
$adder LD_LIBRARY_PATH "$1/lib/ffi"
$adder DYLD_LIBRARY_PATH "$1/lib/ffi"
}
addEnvHooks "$targetOffset" addToAkkuEnv
|