Skip to content

Commit 327944d

Browse files
committed
Add a specific case for Android targets
1 parent 15c8e58 commit 327944d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

configure

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4342,6 +4342,9 @@ else
43424342
esac
43434343
CARGO_TARGET="${cargo_host%%-apple-darwin*}-apple-darwin"
43444344
;;
4345+
*-linux-android*)
4346+
CARGO_TARGET=$(echo "$host" | sed 's/^\([^-]*\)-[^-]*-linux-android/\1-linux-android/')
4347+
;;
43454348
*-pc-linux-*)
43464349
CARGO_TARGET=$(echo "$host" | sed 's/-pc-linux-/-unknown-linux-/')
43474350
;;

0 commit comments

Comments
 (0)