Skip to content

Commit

Permalink
Merge pull request #24 from skunkwerks/main
Browse files Browse the repository at this point in the history
build: append *BSD library and include paths
  • Loading branch information
prefiks committed Jan 5, 2023
2 parents 86c66ab + de76879 commit 9741c30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rebar.config
Expand Up @@ -22,7 +22,8 @@

{erl_opts, [debug_info, {src_dirs, ["src"]}]}.
{port_env, [{"ERL_LDFLAGS", " -L$ERL_EI_LIBDIR -lei"},
{"CFLAGS", "$CFLAGS"}, {"LDFLAGS", "$LDFLAGS -lyaml"},
{"CFLAGS", "$CFLAGS -I/usr/local/include"},
{"LDFLAGS", "$LDFLAGS -lyaml -L/usr/local/lib"},
{"win32", "CFLAGS", "$CFLAGS /DYAML_DECLARE_STATIC"},
{"win32", "LDFLAGS", "$LDFLAGS yaml.lib"}]}.
{port_specs, [{"priv/lib/fast_yaml.so", ["c_src/fast_yaml.c"]}]}.
Expand Down

0 comments on commit 9741c30

Please sign in to comment.