0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

build.zig: better detection of using outside zig executable

As pointed out by gereeter, dirname("/") successfully returns "/" again.
So checking for null is not sufficient.
This commit is contained in:
Andrew Kelley 2020-04-04 14:05:49 -04:00
commit dc7e8b2fdc
No known key found for this signature in database
GPG key ID: 7C5F548F728501A9