From 642743146510d2c411927e11de1ebb63c900393a Mon Sep 17 00:00:00 2001 From: Maas-Maarten Zeeman Date: Mon, 29 Oct 2012 09:22:43 +0100 Subject: [PATCH] Changed the build env of sqlite. --- rebar.config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rebar.config b/rebar.config index e3e3e3c..b710bd5 100644 --- a/rebar.config +++ b/rebar.config @@ -1,3 +1,3 @@ {require_otp_vsn, "R14"}. -{port_sources, ["c_src/*.c"]}. -{so_name, "esqlite3_nif.so"}. +{port_env, [{"CFLAGS", "$CFLAGS -DSQLITE_THREADSAFE=1 -DSQLITE_USE_URI"}]}. +{port_specs, [{"priv/esqlite3_nif.so", ["c_src/*.c"]}]}.