added soem rebar3 stuff
This commit is contained in:
10
rebar.config
10
rebar.config
@@ -4,8 +4,18 @@
|
||||
{"darwin", "DRV_LDFLAGS",
|
||||
"-flat_namespace -undefined suppress $ERL_LDFLAGS"},
|
||||
|
||||
{"solaris", "CFLAGS",
|
||||
"-std=c99"},
|
||||
|
||||
{"CFLAGS", "$CFLAGS -DSQLITE_THREADSAFE=1 -DSQLITE_USE_URI -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS"}
|
||||
]}.
|
||||
{port_specs, [
|
||||
{"priv/esqlite3_nif.so", ["c_src/esqlite3_nif.c", "c_src/queue.c", "c_src/sqlite3.c"]}
|
||||
]}.
|
||||
|
||||
{plugins, [pc]}.
|
||||
|
||||
{provider_hooks,
|
||||
[{post,
|
||||
[{compile, {pc, compile}},
|
||||
{clean, {pc, clean}}]}]}.
|
||||
|
||||
Reference in New Issue
Block a user