about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-05-27T18·09+0200
committerVincent Ambo <mail@tazj.in>2018-05-27T18·09+0200
commit1ed238b4498f6d4f00216021cfa5be89e3cdf209 (patch)
treed8a8633ad62fd0191d33f9b3dcbe717aaef07111
parent869d74723e0696d5a081b6146240fbc929414ce6 (diff)
feat(build): Configure linking to libsystemd
-rw-r--r--build.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/build.rs b/build.rs
new file mode 100644
index 000000000000..d64c82a88a71
--- /dev/null
+++ b/build.rs
@@ -0,0 +1,6 @@
+extern crate pkg_config;
+
+fn main() {
+    pkg_config::probe_library("libsystemd")
+        .expect("Could not probe libsystemd");
+}