2n attempt to fix niminst on the testing machines

This commit is contained in:
Araq
2013-06-29 10:28:28 +02:00
parent 1bdc0d1dd3
commit 651103ff32

View File

@@ -48,12 +48,13 @@
import times
when defined(unix) and not defined(useLibzipSrc):
{.passl: "-lz".}
when defined(macosx):
{.pragma: mydll, dynlib: "libzip2.dylib".}
else:
{.pragma: mydll, dynlib: "libzip2.so(|.2|.1|.0)".}
else:
when defined(unix):
{.passl: "-lz".}
{.compile: "libzip_all.c".}
{.pragma: mydll.}