summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-06-24 18:15:03 +0300
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2025-06-24 18:15:03 +0300
commit417c070e274a093d702efb35fc51408175b801fa (patch)
treec68602a421d4109ce0458f4b6d947993a7604dd6
parentef502b77c6fdf5bb688d44d0b975b92ee6e66c81 (diff)
build: better handle non-guile build
-rw-r--r--meson.build2
-rw-r--r--mu/mu-cmd.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build
index 0a5cd58..80702eb 100644
--- a/meson.build
+++ b/meson.build
@@ -312,7 +312,7 @@ if not get_option('scm').disabled() and guile_dep.found()
subdir('scm')
else
# dummy-dep.
- mu_scm_dep = declare_dependency('', required:false)
+ mu_scm_dep = declare_dependency()
endif
subdir('mu')
diff --git a/mu/mu-cmd.cc b/mu/mu-cmd.cc
index d14c355..586ed91 100644
--- a/mu/mu-cmd.cc
+++ b/mu/mu-cmd.cc
@@ -35,9 +35,9 @@
#include "message/mu-message.hh"
#include "message/mu-mime-object.hh"
-#if BUILD_GUILE
+#if BUILD_GUILE || BUILD_SCM
#include "scm/mu-scm.hh"
-#endif/*BUILD_GUILE*/
+#endif/*BUILD_GUILE || BUILD_SCM*/
#include "utils/mu-error.hh"
#include "utils/mu-utils-file.hh"