Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit 6428332

Browse files
authored
Fix mac -> darwin mixup in gradle (#67)
1 parent e45e5fb commit 6428332

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flutter_wasm/android/build.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ android {
5252

5353
def thisDir = file('.')
5454
def hostOs = DefaultNativePlatform.currentOperatingSystem.getName().toLowerCase()
55+
if (hostOs.startsWith('mac')) {
56+
hostOs = 'darwin'
57+
}
5558
def hostArch = DefaultNativePlatform.currentArchitecture.getName().replaceAll('-', '_')
5659
def ndkBinDir = "${android.ndkDirectory}/toolchains/llvm/prebuilt/${hostOs}-${hostArch}/bin"
5760
def projectProperties = new Properties()

0 commit comments

Comments
 (0)