summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.rs b/build.rs
index 83fcc3c..cc59f21 100644
--- a/build.rs
+++ b/build.rs
@@ -4,6 +4,7 @@ use std::env;
use std::process::Command;
// cargo build has to be run twice for some reason.
+#[cfg(feature = "guile")]
fn build_guile() {
const LIBGUILE_INCLUDE_PATH: &str = "/usr/include/guile/3.0/";
const GUILEDEFS_SRC: &str = "src/guile/guiledefs.c";