Permalink
Browse files

add port_spec because new rebar does not add by default

  • Loading branch information...
1 parent 449c76e commit 18b109c835089eaba6ef7ad61f08659724eb003f @mokele committed Nov 5, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 rebar.config
View
@@ -7,6 +7,8 @@
{erl_opts, [warnings_as_errors]}.
+{port_specs, [{"priv/erlang_js_drv.so", ["c_src/*.c"]}]}.
+
{port_env, [
{"DRV_CFLAGS", "$DRV_CFLAGS -I c_src/system/include/js -DXP_UNIX -Wall"},
{"DRV_LDFLAGS", "$DRV_LDFLAGS c_src/system/lib/libjs.a c_src/system/lib/libnspr4.a"},

0 comments on commit 18b109c

Please sign in to comment.