mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix Guile compiled path in environment.in
Compiled files go to prefix/lib/guile/2.0/ccache, which isn't the same as where the source files are stored (prefix/share/guile/2.0), so provide a separate variable for it. Also don't throw away the user's value of GUILE_LOAD_COMPILED_PATH in favor of GUILE_LOAD_PATH.
This commit is contained in:
parent
e55e7db9fd
commit
a537ff052b
@ -41,11 +41,14 @@ GNC_MODULE_PATH={GNC_LIB};{GNC_MODULE_PATH}
|
||||
# Prevent embedded guile from issuing deprecation warnings
|
||||
GUILE_WARN_DEPRECATED=no
|
||||
|
||||
# Tell Guile where to find GnuCash specific guile modules
|
||||
# GUILE_LIBS can be used to override the path to Guile's own modules
|
||||
# Tell Guile where to find GnuCash specific guile modules GUILE_LIBS
|
||||
# can be used to override the path to Guile's own modules; likewise,
|
||||
# GUILE_COMPILED_LIBS overrides the path to Guile's precompiled
|
||||
# modules.
|
||||
# GUILE_LIBS=
|
||||
# GUILE_COMPILED_LIBS=
|
||||
GUILE_LOAD_PATH={GNC_DATA}/scm;{GUILE_LIBS};{GUILE_LOAD_PATH}
|
||||
GUILE_LOAD_COMPILED_PATH={GNC_DATA}/scm/ccache/@-GUILE_EFFECTIVE_VERSION-@;{GUILE_LIBS};{GUILE_LOAD_PATH}
|
||||
GUILE_LOAD_COMPILED_PATH={GNC_DATA}/scm/ccache/@-GUILE_EFFECTIVE_VERSION-@;{GUILE_COMPILED_LIBS};{GUILE_LOAD_COMPILED_PATH}
|
||||
|
||||
# Tell Guile where to find GnuCash specific shared libraries
|
||||
GNC_LIBRARY_PATH={SYS_LIB}
|
||||
|
Loading…
Reference in New Issue
Block a user