Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Removes target specification from macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Fortune committed Nov 16, 2023
1 parent 2a8a456 commit 871cf3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crypto/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ task compileRust {
else {
exec {
workingDir 'src/jni-crypto'
commandLine 'cargo', 'build', '--release', '--target=x86_64-apple-darwin', '--target-dir=../../build/jni-crypto'
commandLine 'cargo', 'build', '--release', '--target-dir=../../build/jni-crypto'
}
}
}
Expand All @@ -39,7 +39,7 @@ task compileRust {
compileJava.dependsOn(compileRust)

processResources {
from("${buildDir}/jni-crypto/x86_64-apple-darwin/release") {
from("${buildDir}/jni-crypto/release") {
into "include/macos"
include '*.dylib'
}
Expand All @@ -51,4 +51,4 @@ processResources {
into "include/windows"
include '*.dll'
}
}
}

0 comments on commit 871cf3e

Please sign in to comment.