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:
parent
e33f4863fc
commit
b62f65d24e
@ -9,12 +9,6 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [pkgconfig glib];
|
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"'';
|
postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user