Forward pragmas to toast
This commit is contained in:
parent
27fcecaa26
commit
6ffacf92fc
15 changed files with 162 additions and 306 deletions
|
|
@ -65,12 +65,12 @@ when zlibGit or zlibDL:
|
|||
when dirExists(baseDir / "buildcache"):
|
||||
cIncludeDir(baseDir / "buildcache")
|
||||
|
||||
when not zlibStatic:
|
||||
when not isDefined(zlibStatic):
|
||||
cImport(zlibPath, recurse = true, dynlib = "zlibLPath", flags = FLAGS)
|
||||
else:
|
||||
when isDefined(zlibJBB):
|
||||
cPassL("-no-pie")
|
||||
|
||||
cImport(zlibPath, recurse = true, flags = FLAGS)
|
||||
|
||||
echo "zlib version = " & $zlibVersion()
|
||||
|
||||
when isDefined(zlibJBB) and isDefined(zlibStatic):
|
||||
{.passL: "-no-pie".}
|
||||
echo "zlib version = " & $zlibVersion()
|
||||
Loading…
Add table
Add a link
Reference in a new issue