gnucash unstable: Fix the fixed path to compiled guile files.

John Ralls jralls at code.gnucash.org
Fri Dec 1 12:00:14 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/a120c48f (commit)
	from  https://github.com/Gnucash/gnucash/commit/062851a8 (commit)



commit a120c48fb10d2256cac5abe7066b7a61db64ea2e
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Dec 1 08:59:51 2017 -0800

    Fix the fixed path to compiled guile files.

diff --git a/gnucash/environment.in b/gnucash/environment.in
index 82e0209..0ef4568 100644
--- a/gnucash/environment.in
+++ b/gnucash/environment.in
@@ -64,7 +64,9 @@ GUILE_WARN_DEPRECATED=no
 # GUILE_COMPILED_LIBS=
 GUILE_LOAD_PATH={GNC_DATA}/scm;{GUILE_LIBS};{GUILE_LOAD_PATH}
 
-GUILE_LOAD_COMPILED_PATH={SYS_LIB}/guile/2.0/ccache;{GNC_LIB}/scm/ccache/@-GUILE_EFFECTIVE_VERSION-@;{GUILE_COMPILED_LIBS};{GUILE_LOAD_COMPILED_PATH}
+# On Windows {GNC_LIB} points to {GNC_HOME}/bin because that's where the DLLs
+# are. It's not where the compiled scheme files are so we use {SYS_LIB} here.
+GUILE_LOAD_COMPILED_PATH={SYS_LIB}/guile/2.0/ccache;{SYS_LIB}/gnucash/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};{GNC_LIB}



Summary of changes:
 gnucash/environment.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list