forked from iamaleksey/iconverl
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrebar.config
32 lines (25 loc) · 966 Bytes
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{erl_opts, [debug_info]}.
{artifacts, ["priv/iconverl.so"]}.
{plugins, [{pc, "1.13.0"}]}.
{provider_hooks, [
{post, [
{compile, {pc, compile}},
{clean, {pc, clean }}
]}]
}.
{so_name, "iconverl.so"}.
{port_env,
[{"linux", "DRV_CFLAGS", "$DRV_CFLAGS -O2 -Wall -pedantic -Wextra -Wno-unused-parameter"},
{"darwin", "DRV_CFLAGS", "$DRV_CFLAGS -fno-common"},
{"darwin", "DRV_LDFLAGS", "$DRV_LDFLAGS -liconv"},
{"freebsd", "DRV_LDFLAGS", "$DRV_LDFLAGS -liconv"}]}.
{port_specs, [{"priv/iconverl.so", ["c_src/iconverl.c"]}]}.
{project, "iconverl"}.
{version, "3.0.21"}.
{description, "Erlang NIF library for iconv."}.
{licenses, ["MIT"]}.
{authors, ["Eric des Courtis <eric.des.courtis@gmail.com>"]}.
{maintainers, ["Eric des Courtis"]}.
{files, ["src/**", "include/**", "priv/**", "c_src/**", "rebar.config", "README.md", "LICENSE"]}.
{build_tools, ["rebar3"]}.
{edoc_opts, [{source_path, ["src"]}, {overview, "./README.md"}]}.