forked from mirrors/nixpkgs
sqlite: Use {C,LD}FLAGS instead of NIX_CFLAGS_*
Now the flags are used when cross-building, too svn path=/nixpkgs/trunk/; revision=30454
This commit is contained in:
parent
d818fb3333
commit
a28940d9d5
|
@ -14,8 +14,8 @@ stdenv.mkDerivation {
|
|||
|
||||
configureFlags = "--enable-threadsafe";
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1";
|
||||
NIX_CFLAGS_LINK = if readline != null then "-lncurses" else "";
|
||||
CFLAGS = "-DSQLITE_ENABLE_COLUMN_METADATA=1 -DSQLITE_SECURE_DELETE=1 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1";
|
||||
LDFLAGS = if readline != null then "-lncurses" else "";
|
||||
|
||||
meta = {
|
||||
homepage = http://www.sqlite.org/;
|
||||
|
|
Loading…
Reference in a new issue