From d9be549a4c3523935437d6167a16c387e1c6d4ff Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 8 Oct 2013 13:17:55 +0200 Subject: [PATCH] libusb1: Fix "libgcc_s.so.1 must be installed for pthread_cancel to work" error --- pkgs/development/libraries/libusb1/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/libusb1/default.nix b/pkgs/development/libraries/libusb1/default.nix index c01baa2fd0f6..d4504a26b7f3 100644 --- a/pkgs/development/libraries/libusb1/default.nix +++ b/pkgs/development/libraries/libusb1/default.nix @@ -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";