From c6df6ba694a2f19f1a147162cfc92e42f043c14b Mon Sep 17 00:00:00 2001 From: Ugljesa Jovanovic Date: Mon, 1 Jun 2020 21:26:08 +0200 Subject: [PATCH] fix mac paths --- multiplatform-crypto-delegated/build.gradle.kts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/multiplatform-crypto-delegated/build.gradle.kts b/multiplatform-crypto-delegated/build.gradle.kts index 62df81f..2a1698d 100644 --- a/multiplatform-crypto-delegated/build.gradle.kts +++ b/multiplatform-crypto-delegated/build.gradle.kts @@ -174,7 +174,7 @@ kotlin { compilations.getByName("main") { val libsodiumCinterop by cinterops.creating { defFile(project.file("src/nativeInterop/cinterop/libsodium.def")) - compilerOpts.add("-I${project.rootDir}/sodiumWrapper/static-macos-x86-64/include/") + compilerOpts.add("-I${project.rootDir}/sodiumWrapper/static-macos-x86-64/include") } kotlinOptions.freeCompilerArgs = listOf( "-include-binary", "${project.rootDir}/sodiumWrapper/static-macos-x86-64/lib/libsodium.a" @@ -232,7 +232,7 @@ kotlin { compilations.getByName("main") { val libsodiumCinterop by cinterops.creating { defFile(project.file("src/nativeInterop/cinterop/libsodium.def")) - compilerOpts.add("-I${project.rootDir}/sodiumWrapper/static-mingw-x86-64/include/") + compilerOpts.add("-I${project.rootDir}/sodiumWrapper/static-mingw-x86-64/include") } kotlinOptions.freeCompilerArgs = listOf( "-include-binary", "${project.rootDir}/sodiumWrapper/static-mingw-x86-64/lib/libsodium.a" @@ -333,10 +333,10 @@ kotlin { println("Setting ios cinterop for $this") val libsodiumCinterop by cinterops.creating { defFile(project.file("src/nativeInterop/cinterop/libsodium.def")) - compilerOpts.add("-I${project.rootDir}/sodiumWrapper/static-ios/") + compilerOpts.add("-I${project.rootDir}/sodiumWrapper/static-ios/include") } kotlinOptions.freeCompilerArgs = listOf( - "-include-binary", "${project.rootDir}/sodiumWrapper/static-ios/libsodium.a" + "-include-binary", "${project.rootDir}/sodiumWrapper/static-ios/lib/libsodium.a" ) } @@ -345,10 +345,10 @@ kotlin { println("Setting ios cinterop for $this") val libsodiumCinterop by cinterops.creating { defFile(project.file("src/nativeInterop/cinterop/libsodium.def")) - compilerOpts.add("-I${project.rootDir}/sodiumWrapper/static-ios/") + compilerOpts.add("-I${project.rootDir}/sodiumWrapper/static-ios/include") } kotlinOptions.freeCompilerArgs = listOf( - "-include-binary", "${project.rootDir}/sodiumWrapper/static-ios/libsodium.a" + "-include-binary", "${project.rootDir}/sodiumWrapper/static-ios/lib/libsodium.a" ) }