Skip to content

Add port_spec due to rebar not adding a default port_spec any more #34

Merged
merged 1 commit into from Aug 24, 2013
+2 −0
View
2 rebar.config
@@ -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"},
Something went wrong with that request. Please try again.