summaryrefslogtreecommitdiff
path: root/src/ffi.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-31 19:14:59 +0000
committerRobin Krahl <robin.krahl@ireas.org>2018-12-31 20:20:11 +0100
commita47058981611bacae464ed6deac39c6686357f3a (patch)
tree706d79dceed453fb3e7b86072b6d806c676615ef /src/ffi.rs
parentb529221df29450412b01d8514df93a059fec8104 (diff)
downloadnitrokey-sys-rs-a47058981611bacae464ed6deac39c6686357f3a.tar.gz
nitrokey-sys-rs-a47058981611bacae464ed6deac39c6686357f3a.tar.bz2
Link to hidapi on non-Linux systems
According to the hidapi README [0], only Linux provides two different hidapi backends. Therefore this patch changes the build script to default to linking to hidapi on non-Linux systems. This patch fixes the macOS build issue reported by Philippe Normand and is based on the patch proposed by Philippe Normand at [1]. [0] https://github.com/signal11/hidapi/blob/master/README.txt [1] https://github.com/d-e-s-o/nitrocli/pull/42
Diffstat (limited to 'src/ffi.rs')
0 files changed, 0 insertions, 0 deletions