From 4a3c72d09d0c028fda3563e69b67c99dcd40520d Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sat, 16 Sep 2017 10:56:52 -0700 Subject: Import subrepo hidapi-sys/:hidapi-sys at aa6e4728e8b87ee3d6580f65826b5803801885c5 --- hidapi-sys/build.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hidapi-sys') 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")); -- cgit v1.2.3