libusb1: Fix "libgcc_s.so.1 must be installed for pthread_cancel to work" error

This commit is contained in:
Eelco Dolstra 2013-10-08 13:17:55 +02:00
parent 30933abb97
commit d9be549a4c

View File

@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
buildInputs = [ pkgconfig ];
propagatedBuildInputs = stdenv.lib.optional (stdenv.isLinux) udev;
NIX_LDFLAGS = "-lgcc_s";
meta = {
homepage = http://www.libusb.org;
description = "User-space USB library";