blt / port_compiler

A rebar3 port compiler
MIT License
65 stars 38 forks source link

Avoid erl_interface lib if nonexistent #64

Closed vinoski closed 4 years ago

vinoski commented 4 years ago

The erl_interface C header and library were deprecated in Erlang/OTP 22 for removal in Erlang/OTP 23. Change the default C include paths and linker options to not use erl_interface header files or libraries if erl_interface.h is not detected in the erl_interface installation.

Change README.md to note that the erl_interface library is not always used in ERL_LDFLAGS.