summary refs log tree commit diff
path: root/third_party/cachunker/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/cachunker/build.rs')
-rw-r--r--third_party/cachunker/build.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/cachunker/build.rs b/third_party/cachunker/build.rs
new file mode 100644
index 0000000..db44a63
--- /dev/null
+++ b/third_party/cachunker/build.rs
@@ -0,0 +1,10 @@
+// SPDX-FileCopyrightText: edef <edef@unfathomable.blue>
+// SPDX-License-Identifier: LGPL-2.1-or-later
+
+fn main() {
+	cc::Build::new()
+		.file("src/cachunker.c")
+		.include("src")
+		.opt_level(3)
+		.compile("cachunker");
+}