pkgs/tools/networking/nbd: removed hard-coded flags for static linking

A statically linked binary should rather be generated using the
appropriate stdenv adapter.

svn path=/nixpkgs/trunk/; revision=23107
This commit is contained in:
Peter Simons 2010-08-11 09:54:46 +00:00
parent e33f4863fc
commit b62f65d24e

View File

@ -9,12 +9,6 @@ stdenv.mkDerivation rec {
};
buildInputs = [pkgconfig glib];
# Link this package statically to generate an nbd-server binary that
# has no dynamic dependencies and that can be used on (non-Nix) remote
# machines that have a different setup than the local one.
configureFlags = "LDFLAGS=-static";
postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"'';
meta = {