mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
opendbx: fix cross build
This commit is contained in:
parent
52fa4abe16
commit
d03c7ccb6c
1 changed files with 7 additions and 0 deletions
|
@ -27,6 +27,13 @@ stdenv.mkDerivation rec {
|
|||
configureFlagsArray=(--with-backends="mysql pgsql sqlite3")
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
# detection fails when cross-compiling
|
||||
"ac_cv_func_malloc_0_nonnull=yes"
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
"ac_cv_func_strtod=yes"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
readline
|
||||
libmysqlclient
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue