summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorQrius <[email protected]>2024-12-18 20:21:44 +0100
committerQrius <[email protected]>2024-12-18 20:21:44 +0100
commit861779e4c6b82f9f4bf09fd7e714ac5106b4455d (patch)
tree516fc9af893870bded3988e174f081f0d3d0b796 /build.rs
parent1b59010b7da3b86aea6eb929d7efe37bdf735cd6 (diff)
downloadskaldpress-861779e4c6b82f9f4bf09fd7e714ac5106b4455d.tar.gz
skaldpress-861779e4c6b82f9f4bf09fd7e714ac5106b4455d.zip
Add some bindings and a workaround for resetting
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";