mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
opendbx: set libmysqlclient include path
This commit is contained in:
parent
951ec9287a
commit
9bbe7a06fd
@ -1,5 +1,7 @@
|
||||
{ stdenv, fetchurl, readline, libmysqlclient, postgresql, sqlite }:
|
||||
|
||||
let inherit (stdenv.lib) getDev; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opendbx-1.4.6";
|
||||
|
||||
@ -9,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
export CPPFLAGS="-I${libmysqlclient}/include/mysql"
|
||||
export CPPFLAGS="-I${getDev libmysqlclient}/include/mysql"
|
||||
export LDFLAGS="-L${libmysqlclient}/lib/mysql -L${postgresql}/lib"
|
||||
configureFlagsArray=(--with-backends="mysql pgsql sqlite3")
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user