I am trying to automate a process during which a C dependency is compiled and I need the exact location of
erl_nif.h on the script runner’s machine.
I can trivially locate it on my machine and the other devs can do it pretty easily – we all did
export ERL_INCLUDE_PATH=... and forgot about it – I am interested in how can we automatically and universally find this file for scripting purposes on other machines?
I am looking for something like
erl --return-headers-dir. Does anybody know if there’s a builtin – or 3rd party – facility to achieve this goal?