Fixes.
h3rald h3rald@h3rald.com
Sat, 20 Mar 2021 09:37:07 +0000
1 files changed,
14 insertions(+),
0 deletions(-)
jump to
M
hastysite.nims
→
hastysite.nims
@@ -8,3 +8,17 @@ switch("amd64.linux.gcc.path", "/usr/local/bin")
switch("amd64.linux.gcc.exe", "x86_64-linux-musl-gcc") switch("amd64.linux.gcc.linkerexe", "x86_64-linux-musl-gcc") +switch("opt", "size") + +when not defined(dev): + switch("define", "release") + +if findExe("musl-gcc") != "": + switch("gcc.exe", "musl-gcc") + switch("gcc.linkerexe", "musl-gcc") + +when defined(windows): + switch("dynlibOverride", "pcre64") +else: + switch("dynlibOverride", "pcre") +