3
0
Fork 0
forked from mirrors/nixpkgs

Need pthread_cancel for zdb to work properly. Add -lgcc_s.

This commit is contained in:
Jack Cummings 2012-11-26 21:28:49 -08:00
parent 3b8796ee9d
commit 4775e71049

View file

@ -11,6 +11,8 @@ stdenv.mkDerivation {
buildInputs = [ kernel spl perl autoconf automake libtool zlib libuuid coreutils ];
# for zdb to get the rpath to libgcc_s, needed for pthread_cancel to work
NIX_CFLAGS_LINK = "-lgcc_s";
NIX_CFLAGS_COMPILE = "-I${kernel}/lib/modules/${kernel.modDirVersion}/build/include/generated";
preConfigure = ''