Samples: libcurl for Windows with dynamic linking (#2348)

This commit is contained in:
Dmitriy Dolovov
2018-11-21 16:35:55 +07:00
committed by GitHub
parent f68f7028b1
commit dfa82430d5
6 changed files with 22 additions and 6 deletions
+4 -1
View File
@@ -21,7 +21,7 @@ task cleanLocalRepo(type: Delete) {
}
// Determine host preset.
def hostPreset = MPPTools.defaultHostPreset(project, [kotlin.presets.macosX64, kotlin.presets.linuxX64])
def hostPreset = MPPTools.defaultHostPreset(project, [kotlin.presets.macosX64, kotlin.presets.linuxX64, kotlin.presets.mingwX64])
kotlin {
targets {
@@ -35,6 +35,9 @@ kotlin {
case presets.linuxX64:
includeDirs.headerFilterOnly '/usr/include', '/usr/include/x86_64-linux-gnu'
break
case presets.mingwX64:
includeDirs.headerFilterOnly "${MPPTools.mingwPath()}/include"
break
}
}
}