libusb1: build using clangStdenv ... on darwin

This commit is contained in:
John Wiegley 2014-08-10 23:25:33 -05:00
parent 3dea766731
commit ef171fe543
1 changed files with 3 additions and 1 deletions

View File

@ -5525,7 +5525,9 @@ let
libusb = callPackage ../development/libraries/libusb {}; libusb = callPackage ../development/libraries/libusb {};
libusb1 = callPackage ../development/libraries/libusb1 { libusb1 = callPackage ../development/libraries/libusb1 {
stdenv = pkgs.clangStdenv; stdenv = if stdenv.isDarwin
then clangStdenv
else stdenv;
}; };
libunwind = callPackage ../development/libraries/libunwind { }; libunwind = callPackage ../development/libraries/libunwind { };