Fix compilation warnings and prepare to be a dependency.
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
{port_env, [
|
||||
{"DRV_LDFLAGS", "$DRV_LDFLAGS -lz -lgit2"},
|
||||
|
||||
%% fix rebar2 compilation for erlang-23 and above (replace automatic usage of -lerl_interface with -lei)
|
||||
{"ERL_LDFLAGS", "-L$ERL_EI_LIBDIR -lei"},
|
||||
|
||||
%% OS X Leopard flags for 64-bit
|
||||
{"darwin9.*-64$", "CXXFLAGS", "-m64"},
|
||||
{"darwin9.*-64$", "LDFLAGS", "-arch x86_64"},
|
||||
|
||||
Reference in New Issue
Block a user