Fixed runtime error on linux.
h3rald h3rald@h3rald.com
Sun, 29 Dec 2019 13:33:35 +0100
5 files changed,
18 insertions(+),
3 deletions(-)
M
HastySite_UserGuide.md
→
HastySite_UserGuide.md
@@ -28,6 +28,10 @@ {@ site/contents/reference.md || 1 @}
## Changelog +### v1.3.3 + +{@ site/contents/posts/v133-released.md || 1 @} + ### v1.3.2 {@ site/contents/posts/v132-released.md || 1 @}
M
config.nim
→
config.nim
@@ -1,5 +1,5 @@
const pkgName* = "HastySite" - pkgVersion* = "1.3.2" + pkgVersion* = "1.3.3" pkgDescription* = "A small but powerful static site generator" pkgAuthor* = "Fabio Cevasco"
M
hastysite.nim
→
hastysite.nim
@@ -11,6 +11,8 @@ logging,
pegs {.passL: "-Lpackages/hastyscribe/src/hastyscribepkg/vendor".} +when defined(linux): + {.passL:"-static".} import packages/min/min,
M
hastysite.nim.cfg
→
hastysite.nim.cfg
@@ -1,11 +1,12 @@
# https://blog.filippo.io/easy-windows-and-linux-cross-compilers-for-macos/ +# Remember to pass passL:"-static" when cross compiling on linux! -# https://gist.github.com/Drakulix/9881160 +define: release + amd64.windows.gcc.path = "/usr/local/bin" amd64.windows.gcc.exe = "x86_64-w64-mingw32-gcc" amd64.windows.gcc.linkerexe = "x86_64-w64-mingw32-gcc" -# http://crossgcc.rts-software.org/doku.php?id=compiling_for_linux amd64.linux.gcc.path = "/usr/local/bin" amd64.linux.gcc.exe = "x86_64-linux-musl-gcc" amd64.linux.gcc.linkerexe = "x86_64-linux-musl-gcc"
A
site/contents/posts/v133-released.md
@@ -0,0 +1,8 @@
+----- +id: v133-released +title: "Version 1.3.3 released" +content-type: post +date: "29 December 2019" +timestamp: 1577621894 +----- +* Fixed cross-compilation error.