Make logging ninja friendly
When building with ninja instead of make __FILE__
will be relative
and logging therefore break. This moves stripping the path
from __FILE__
to runtime and handles a relative filepath as
well as a full one.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
When building with ninja instead of make __FILE__
will be relative
and logging therefore break. This moves stripping the path
from __FILE__
to runtime and handles a relative filepath as
well as a full one.