3
0
Fork 0
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:
Shea Levy 2011-11-16 20:21:07 +00:00
parent d818fb3333
commit a28940d9d5

View file

@ -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/;