openisns: fix empty lib output
Looks like enable-shared defaults to false, so we actually ended up with no usable object files in the lib output. This also appears to have broken open-iscsi, as evinced by /nix/store/[...]-binutils-2.27/bin/ld: cannot find -lisns collect2: error: ld returned 1 exit status make[1]: *** [Makefile:57: iscsid] Error 1 https://hydra.nixos.org/build/49437400/log/raw With this patch, open-iscsi builds fine here.
This commit is contained in:
parent
5e074f10e1
commit
ab6d358ebf
|
@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
|
|||
outputs = [ "out" "lib" ];
|
||||
outputInclude = "lib";
|
||||
|
||||
configureFlags = [ "--enable-shared" ];
|
||||
|
||||
installFlags = "etcdir=$(out)/etc vardir=$(out)/var/lib/isns";
|
||||
installTargets = "install install_hdrs install_lib";
|
||||
|
||||
|
|
Loading…
Reference in a new issue