Skip to content

Commit 28dd820

Browse files
committed
Add debug prints
1 parent 8a6048f commit 28dd820

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

aws-crt-kotlin/build.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,19 @@ kotlin {
108108
}
109109

110110
if (NATIVE_ENABLED && HostManager.hostIsMingw) {
111+
println("CONFIGURING MINGW64 WinVer!")
111112
mingwX64 {
112113
val mingwHome = findMingwHome()
114+
println("Found mingwHome at $mingwHome")
113115
val defPath = layout.buildDirectory.file("cinterop/winver.def")
116+
println("Writing winver.def to $defPath")
114117

115118
// Dynamically construct def file because of dynamic mingw paths
116119
val defFileTask by tasks.registering {
117120
outputs.file(defPath)
118121

119122
val mingwLibs = Paths.get(mingwHome, "lib").toString().replace("\\", "\\\\") // Windows path shenanigans
123+
println("Using MinGW libs folder: $mingwLibs")
120124

121125
doLast {
122126
Files.writeString(

0 commit comments

Comments
 (0)