2012-10-26 14:25:02 +00:00
|
|
|
%%-*- mode: erlang -*-
|
|
|
|
%% ex: ft=erlang ts=4 sw=4 et
|
2012-10-26 13:20:08 +00:00
|
|
|
{port_specs, [{"priv/wterl.so", ["c_src/*.c"]}]}.
|
2011-12-22 04:46:35 +00:00
|
|
|
|
2012-10-26 13:20:08 +00:00
|
|
|
{port_env, [
|
2012-10-26 14:25:02 +00:00
|
|
|
{"DRV_CFLAGS", "$DRV_CFLAGS -Werror -I c_src/system/include"},
|
|
|
|
{"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/system/lib/libwiredtiger.a"}
|
|
|
|
]}.
|
2011-12-18 20:54:46 +00:00
|
|
|
|
|
|
|
{pre_hooks, [{compile, "c_src/build_deps.sh"}]}.
|
|
|
|
|
|
|
|
{post_hooks, [{clean, "c_src/build_deps.sh clean"}]}.
|
|
|
|
|