* Match what DBD::SQLite expects.

svn path=/nixpkgs/trunk/; revision=16139
This commit is contained in:
Eelco Dolstra 2009-07-02 13:56:06 +00:00
parent fc34431dde
commit e2293f605d

View file

@ -13,10 +13,14 @@ stdenv.mkDerivation rec {
buildInputs = [readline];
configureFlags = ''
--enable-load-extension
${if static then "--disable-shared --enable-static" else ""}
--with-readline-inc=-I${readline}/include
'';
NIX_CFLAGS_COMPILE = "-DSQLITE_ENABLE_COLUMN_METADATA=1";
NIX_CFLAGS_LINK = "-ldl"; # needed for --enable-load-extension
meta = {
homepage = http://www.sqlite.org/;
description = "A self-contained, serverless, zero-configuration, transactional SQL database engine";