diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-12 13:54:09 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-12 14:57:05 +0100 |
commit | 15d818928ed8bc953237808f20adc763d915db49 (patch) | |
tree | bc9d65ceb1d33078f94436252f003e8a2ea3eca5 /README.md | |
parent | 6a8186e8ded7eab799580711d8d6357459f972cc (diff) | |
download | nitrokey-sys-rs-15d818928ed8bc953237808f20adc763d915db49.tar.gz nitrokey-sys-rs-15d818928ed8bc953237808f20adc763d915db49.tar.bz2 |
Check the USE_SYSTEM_LIBNITROKEY environment variable
This patch introduces the USE_SYSTEM_LIBNITROKEY environment variable.
If it is set when compiling, the nitrokey-sys crate will not try to
build libnitrokey from source but instead uses the system libnitrokey
version.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -10,6 +10,11 @@ in the library search path: - `libhidapi-libusb0` (on Linux) - `libhidapi` (on non-Linux systems) +If you set the `USE_SYSTEM_LIBNITROKEY` environment variable when building this +crate, it links directly against `libnitrokey` instead of building it from +source. In this case, `libnitrokey` must be available in the library search +path. + ## Versioning The major and minor version of the `nitrokey-sys` crate map to the major and |