mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
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];
|
||||
|
||||
# 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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user