schamane/node-syslog — Issue #12: Installation breaks if system has redirected syslog.h
Author: wickedchicken
Created: 2012-01-17 17:50:35+00:00
State: open

(A re-opening of https://github.com/schamane/node-syslog/issues/11)

Certain systems have a shell /usr/include/syslog.h which redirects to /usr/include/sys/syslog.h. It looks like node-waf doesn't understand how to handle this, substituting a -E into the g++ command it generates shows that the real syslog.h isn't being included at all.

Substituting `#include ` for `#include ` fixes the problem, but seems like a spot-fix in lieu of a more general solution. I'm not very well versed in node-waf and the proper way to fix this escapes me, maybe there is a way to check for this at build-time?