i am trying to use ktor 2.0 eap and kotlin 1.6.0 t...
# ktor
n
i am trying to use ktor 2.0 eap and kotlin 1.6.0 to build a mingw64 binary from linux.. lld fails because it cannot find
-lcurl
.. which dependency do i need to install ? i assume some
mingw-curl
or is this something to be configured in the buildscript ? for now i am trying this in archlinux on WSL2, because i can easily try the binaries on the host
a
Try to install mingw-w64-x86_64-curl, mingw-w64-x86_64-libpsl, and mingw-w64-x86_64-clang packages. For more information please read comments on a similar issue.
n
i hope that fixes building the mingw64 on windows.. but .. the issue is about how to crosscompile the windows target from linux with libcurl dependency (as ktor adds it)