mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 12:07:47 +03:00
lvm2: Enable cross-compilation
This commit is contained in:
parent
92d3c5689d
commit
dc10c551eb
@ -20,7 +20,11 @@ stdenv.mkDerivation {
|
||||
"--enable-pkgconfig"
|
||||
"--enable-applib"
|
||||
"--enable-cmdlib"
|
||||
] ++ stdenv.lib.optional enable_dmeventd " --enable-dmeventd";
|
||||
] ++ stdenv.lib.optional enable_dmeventd " --enable-dmeventd"
|
||||
++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"ac_cv_func_malloc_0_nonnull=yes"
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libudev libuuid thin-provisioning-tools ];
|
||||
|
Loading…
Reference in New Issue
Block a user