gnucash master: Build depedency fix - build backend libararies before the guile bindings
Geert Janssens
gjanssens at code.gnucash.org
Sun Jun 21 15:49:13 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/1d3164bf (commit)
from https://github.com/Gnucash/gnucash/commit/7b090c71 (commit)
commit 1d3164bfdba8527b3d7fc9e88a14ff3087a0a163
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sun Jun 21 21:38:40 2020 +0200
Build depedency fix - build backend libararies before the guile bindings
Compiling our guile scripts will run loaded libraries. One of the libraries to
load is the engine library which expects to find the enabled backends (xml and or dbi).
If those aren't built yet, this will result in error messages printed in the build output.
diff --git a/bindings/guile/CMakeLists.txt b/bindings/guile/CMakeLists.txt
index fc3ccf73e..b5446b027 100644
--- a/bindings/guile/CMakeLists.txt
+++ b/bindings/guile/CMakeLists.txt
@@ -70,7 +70,14 @@ install(TARGETS gnucash-guile
set (core_utils_SCHEME core-utils.scm)
set(GUILE_OUTPUT_DIR gnucash)
-set(GUILE_DEPENDS gnc-core-utils gnucash-guile)
+set(GUILE_DEPENDS
+ gnc-core-utils
+ gnucash-guile
+ gncmod-backend-xml)
+
+if(WITH_SQL)
+ list(APPEND GUILE_DEPENDS gncmod-backend-dbi)
+endif()
gnc_add_scheme_targets(scm-core-utils
SOURCES "${core_utils_SCHEME}"
Summary of changes:
bindings/guile/CMakeLists.txt | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
More information about the gnucash-changes
mailing list