Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adapt rebar.config to rebar changes

  • Loading branch information...
commit 7464efc6a235fb102269c5790a4fa91c174790bd 1 parent 262cac7
Tuncer Ayaz tuncer authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 rebar.config
10 rebar.config
View
@@ -6,17 +6,17 @@
{erl_opts, [{platform_define,
"(linux|freebsd|darwin)", 'HAVE_SENDFILE'},
no_debug_info,
- {src_dirs, ["examples/src"]},
+ {src_dirs, ["src", "examples/src"]},
warnings_as_errors]}.
{port_envs, [{"CFLAGS", "$CFLAGS -g -O3 -Wall -I/usr/include/security"},
{"(linux|freebsd|dragonfly|solaris|darwin)",
"DRV_CFLAGS", "$DRV_CFLAGS -DHAVE_SENDFILE"}]}.
-{so_specs, [{"priv/lib/epam.so", ["c_src/epam.o"]},
- {"priv/lib/setuid_drv.so", ["c_src/setuid_drv.o"]},
- {"priv/lib/yaws_sendfile_drv.so",
- ["c_src/yaws_sendfile_drv.o", "c_src/hashtable.o"]}]}.
+{port_specs, [{"priv/lib/epam.so", ["c_src/epam.c"]},
+ {"priv/lib/setuid_drv.so", ["c_src/setuid_drv.c"]},
+ {"priv/lib/yaws_sendfile_drv.so",
+ ["c_src/yaws_sendfile_drv.c", "c_src/hashtable.c"]}]}.
{pre_hooks, [{compile, "./scripts/rebar-pre-script"},
{clean, "./scripts/rebar-pre-script clean"}]}.
Please sign in to comment.
Something went wrong with that request. Please try again.