node-java
node-java copied to clipboard
Mac OS post install assumes Java is installed under `Library`
Not all installations of java will be under /Library, for example tarball installs could be located anywhere.
In my case I was using jevn which shims JAVA_HOME to: ~/.jenv/versions/1.8.
and the includes paths did NOT include darwin.
Maybe it would be easier to include all subdirectories of ${JAVA_HOME}/include/ ?
(i worked around this by setting JAVA_HOME to a java install that was under /Library)