From 1f35172c68174aee582c722092f96b063f6480db Mon Sep 17 00:00:00 2001 From: zargot Date: Thu, 2 Jan 2020 20:23:53 +0100 Subject: [PATCH] fix cross-compile with mingw Fix cross-compilation to Windows on Linux using x86_64-w64-mingw32-gcc. Linux is case- and slash-sensitive, but Windows should be able to handle both afaik. --- ui/rawui.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/rawui.nim b/ui/rawui.nim index e605e91..5b789e8 100644 --- a/ui/rawui.nim +++ b/ui/rawui.nim @@ -48,12 +48,12 @@ else: {.passL: r"-lcomctl32".} {.passL: r"-ld2d1".} {.passL: r"-ldwrite".} - {.passL: r"-lUxTheme".} - {.passL: r"-lUsp10".} + {.passL: r"-luxtheme".} + {.passL: r"-lusp10".} {.passL: r"-lgdi32".} {.passL: r"-luser32".} {.passL: r"-lkernel32".} - {.link: r"..\res\resources.o".} + {.link: r"../res/resources.o".} when defined(vcc): {.passC: "/EHsc".}