More build helpers
This commit is contained in:
parent
4ed751ad5a
commit
f21315ff17
2 changed files with 40 additions and 4 deletions
|
|
@ -57,8 +57,8 @@ when defined(posix):
|
|||
cSkipSymbol(@["u_int8_t", "u_int16_t", "u_int32_t", "u_int64_t"])
|
||||
|
||||
when defined(zlibGit) or defined(zlibDL):
|
||||
when dirExists(baseDir / "build"):
|
||||
cIncludeDir(baseDir / "build")
|
||||
when dirExists(baseDir / "buildcache"):
|
||||
cIncludeDir(baseDir / "buildcache")
|
||||
|
||||
when not defined(zlibStatic):
|
||||
cImport(zlibPath, recurse = true, dynlib = "zlibLPath")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue