gnucash master: Ajust the GUILE_COMPILE_PATH such that it also works on Windows

Geert Janssens gjanssens at code.gnucash.org
Wed Sep 6 10:32:47 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/32a8b853 (commit)
	from  https://github.com/Gnucash/gnucash/commit/118af3e9 (commit)



commit 32a8b853f164026ba4a996c2a0a5d3ad51590dc3
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Wed Sep 6 16:20:54 2017 +0200

    Ajust the GUILE_COMPILE_PATH such that it also works on Windows

diff --git a/gnucash/environment.in b/gnucash/environment.in
index 43e17ce..86e817b 100644
--- a/gnucash/environment.in
+++ b/gnucash/environment.in
@@ -63,7 +63,9 @@ GUILE_WARN_DEPRECATED=no
 # GUILE_LIBS=
 # GUILE_COMPILED_LIBS=
 GUILE_LOAD_PATH={GNC_DATA}/scm;{GUILE_LIBS};{GUILE_LOAD_PATH}
-GUILE_LOAD_COMPILED_PATH={GNC_LIB}/scm/ccache/@-GUILE_EFFECTIVE_VERSION-@;{GUILE_COMPILED_LIBS};{GUILE_LOAD_COMPILED_PATH}
+# Note the use of {SYS_LIB}/lib here instead of {GNC_LIB}. The latter points to
+# the wrong directory on Windows for this particular purpose.
+GUILE_LOAD_COMPILED_PATH={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