From 9eee4b2475d74cd94c9d72b2520d5568d4564fba Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sun, 20 May 2018 22:31:34 +0000 Subject: Build libnitrokey from source This patch changes the build script to compile and link libnitrokey from the included source. Also, we have to link against hidapi-libusb as a libnitrokey requirement. --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 4e6268c..7c4453c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,3 +10,6 @@ license = "LGPL-3.0" links = "nitrokey" build = "build.rs" readme = "README.md" + +[build-dependencies] +cc = "1.0" -- cgit v1.2.1