forked from mirrors/nixpkgs
Need pthread_cancel for zdb to work properly. Add -lgcc_s.
This commit is contained in:
parent
3b8796ee9d
commit
4775e71049
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue