Skip to content

Commit 2b6ed7b

Browse files
committed
Add a specific case for Linux targets
1 parent 15c8e58 commit 2b6ed7b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

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/-unknown-linux-android/-linux-android/')
4347+
;;
43454348
*-pc-linux-*)
43464349
CARGO_TARGET=$(echo "$host" | sed 's/-pc-linux-/-unknown-linux-/')
43474350
;;

0 commit comments

Comments
 (0)