mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
Link nbd package statically.
svn path=/nixpkgs/trunk/; revision=17470
This commit is contained in:
parent
8d09b96e84
commit
045e10fe15
@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
buildInputs = [pkgconfig glib];
|
||||
|
||||
# Desirable, but doesn't work because glib is compiled without static
|
||||
# libraries by default:
|
||||
#
|
||||
# configureFlags = "LDFLAGS=-static";
|
||||
# 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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user