mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
lvm2: Enable cross-compilation
This commit is contained in:
parent
92d3c5689d
commit
dc10c551eb
@ -20,7 +20,11 @@ stdenv.mkDerivation {
|
|||||||
"--enable-pkgconfig"
|
"--enable-pkgconfig"
|
||||||
"--enable-applib"
|
"--enable-applib"
|
||||||
"--enable-cmdlib"
|
"--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 ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libudev libuuid thin-provisioning-tools ];
|
buildInputs = [ libudev libuuid thin-provisioning-tools ];
|
||||||
|
Loading…
Reference in New Issue
Block a user