Use GNU sed for generating ndk13 headers

The BSD version of sed that is included with macOS crashes when it
encounters the (c) symbol in NDK includes, and has some other
compatibility issues, so use GNU sed on macos instead.
This commit is contained in:
Colin Ward
2021-10-31 17:00:42 +01:00
parent 5e0180aab8
commit 613d32171b
2 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ If building with a normal user, the `PREFIX` directory must be writable (default
### macOS
Install Homebrew (https://brew.sh/) or any other package manager first. The compiler will be installed together with XCode. Once XCode and Homebrew are up install the required packages:
`brew install bash wget make lhasa gmp mpfr libmpc flex gettext texinfo gcc make autoconf`
`brew install bash wget make lhasa gmp mpfr libmpc flex gettext gnu_sed texinfo gcc make autoconf`
By default macOS uses an outdated version of bash. Therefore, on macOS host always pass the the SHELL=/usr/local/bin/bash parameter (or any other valid path pointing to bash), e.g.:
```