This repository was archived by the owner on Aug 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 564
mingw: obsolete crt #1734
Comments
Well, on |
Well, it's still marked as WIP :) |
Found it - @@ -49,11 +49,11 @@ konanArtifacts {
target 'raspberrypi', {
linkerOpts '-lSDL2'
}
target 'mingw', {
- linkerOpts "$resFile -L${System.getenv("MINGW64_DIR")?:"c:/msys64/mingw64"}/lib -lSDL2 -mwindows"
+ linkerOpts "$resFile -L${System.getenv("MINGW64_DIR")?:"c:/msys64/mingw64"}/lib -Wl,-Bstatic -lstdc++ -static -lSDL2 -limm32 -lole32 -loleaut32 -lversion -lwinmm -mwindows"
dependsOn 'windowsResources'
inputs.file resFile
}
}
} |
Fixed in master. |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Trying to statically link SDL in Tetris sample:
get this error:
Seems like it's same as rust-lang/rust#47048 - msys2 now uses
mingw-w64-x86_64-crt-git-6.0.0
, but Kotlin uses bundled with clang-5.0mingw-w64-x86_64-crt-git-5.0.0
.The text was updated successfully, but these errors were encountered: