Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add port_spec because new rebar does not add by default

  • Loading branch information...
commit 18b109c835089eaba6ef7ad61f08659724eb003f 1 parent 449c76e
Steven Gravell authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  rebar.config
2  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"},
Please sign in to comment.
Something went wrong with that request. Please try again.