mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 22:37:47 +00:00
bibutils: fix cross compilation
This commit is contained in:
parent
cc0257d063
commit
54466394ca
@ -18,13 +18,22 @@ stdenv.mkDerivation rec {
|
||||
--replace '-Wl,-soname,$(SONAME)' ""
|
||||
'';
|
||||
|
||||
# the configure script is not generated by autoconf
|
||||
# and do not recognize --build/--host cross compilation flags
|
||||
configurePlatforms = [ ];
|
||||
|
||||
configureFlags = [
|
||||
(if static then "--static" else "--dynamic")
|
||||
"--install-dir" "$(out)/bin"
|
||||
"--install-lib" "$(out)/lib"
|
||||
];
|
||||
|
||||
dontAddPrefix = true;
|
||||
|
||||
makeFlags = [
|
||||
"CC:=$(CC)"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkTarget = "test";
|
||||
preCheck = lib.optionalString stdenv.isDarwin ''
|
||||
|
Loading…
Reference in New Issue
Block a user