OSX fix, test 0.19.0 as well

This commit is contained in:
Ganesh Viswanathan 2019-01-17 08:45:04 -06:00
commit f2b3ffc862
3 changed files with 10 additions and 12 deletions

View file

@ -9,7 +9,9 @@ static:
const sourcePath = currentSourcePath().split({'\\', '/'})[0..^4].join("/") & "/inc/treesitter"
{.passC: "-std=c11 -DUTF8PROC_STATIC".}
when defined(Linux):
{.passC: "-std=c11".}
{.passC: "-DUTF8PROC_STATIC".}
{.passC: "-I$1/include" % sourcePath.}
{.passC: "-I$1/src" % sourcePath.}
{.passC: "-I$1/../utf8proc" % sourcePath.}