diff options
author | Daniel Mueller <deso@posteo.net> | 2017-09-16 10:56:52 -0700 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2017-09-16 10:56:52 -0700 |
commit | 4a3c72d09d0c028fda3563e69b67c99dcd40520d (patch) | |
tree | 9f80d129e9e935283262ae4135720f8bc111e1dc /hidapi-sys | |
parent | bcaabae7c22d27fdbb07ea6009a6f4a9c3672fa2 (diff) | |
download | nitrocli-4a3c72d09d0c028fda3563e69b67c99dcd40520d.tar.gz nitrocli-4a3c72d09d0c028fda3563e69b67c99dcd40520d.tar.bz2 |
Import subrepo hidapi-sys/:hidapi-sys at aa6e4728e8b87ee3d6580f65826b5803801885c5
Diffstat (limited to 'hidapi-sys')
-rw-r--r-- | hidapi-sys/build.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hidapi-sys/build.rs b/hidapi-sys/build.rs index 6ad9197..d910944 100644 --- a/hidapi-sys/build.rs +++ b/hidapi-sys/build.rs @@ -38,7 +38,7 @@ fn fetch() -> io::Result<()> { #[cfg(target_os = "linux")] fn build() -> io::Result<()> { - let mut config = gcc::Config::new(); + let mut config = gcc::Build::new(); config.file(source().join("libusb/hid.c")); config.include(source().join("hidapi")); @@ -54,7 +54,7 @@ fn build() -> io::Result<()> { #[cfg(target_os = "macos")] fn build() -> io::Result<()> { - let mut config = gcc::Config::new(); + let mut config = gcc::Build::new(); config.file(source().join("libusb/hid.c")); config.include(source().join("hidapi")); @@ -70,7 +70,7 @@ fn build() -> io::Result<()> { #[cfg(target_os = "windows")] fn build() -> io::Result<()> { - let mut config = gcc::Config::new(); + let mut config = gcc::Build::new(); config.file(source().join("windows/hid.c")); config.include(source().join("hidapi")); |