Tried to get arm32 to work, but sysroot is missing getrandom, and no getrandom no libsodium as far as I understand. Everything compiles now, including the sample, tested kexe on arm64, runs and does sodium init at least

This commit is contained in:
Ugljesa Jovanovic authored and Ugljesa Jovanovic committed 2020-06-02 23:59:01 +02:00
1 parent 641d950384
commit 006dd47873
13 files changed
+83 -386

No files matched your search

+2 -2
View File
@@ -80,7 +80,7 @@ fun independentDependencyBlock(nativeDeps : KotlinDependencyHandler.() -> Unit)
*/
fun NamedDomainObjectContainer<KotlinSourceSet>.createWorkaroundNativeMainSourceSet(name : String, nativeDeps : KotlinDependencyHandler.() -> Unit) : KotlinSourceSet {
return create("${name}Workaround") {
kotlin.srcDir("src/nativeMain/kotlin")
kotlin.srcDir("src/nativeMain")
dependencies {
nativeDeps.invoke(this)
}
@@ -90,7 +90,7 @@ fun NamedDomainObjectContainer<KotlinSourceSet>.createWorkaroundNativeMainSource
fun NamedDomainObjectContainer<KotlinSourceSet>.createWorkaround32bitNativeMainSourceSet(name : String, nativeDeps : KotlinDependencyHandler.() -> Unit) : KotlinSourceSet {
return create("${name}Workaround") {
kotlin.srcDir("src/native32Main/kotlin")
kotlin.srcDir("src/native32Main")
dependencies {
nativeDeps.invoke(this)
}