mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
Ports: Force cross compiling for zlib
By setting `--uname=Linux`, we tell `configure` to use the right tools for cross compilation. Without this on e.g. macOS it would try to use XCode's `libtool` which would then fail.
This commit is contained in:
parent
5bb64c57f9
commit
16dbba3b8f
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@ files="https://www.zlib.net/zlib-${version}.tar.gz zlib-${version}.tar.gz c3e5e9
|
||||||
auth_type="sha256"
|
auth_type="sha256"
|
||||||
|
|
||||||
configure() {
|
configure() {
|
||||||
run ./configure
|
# Set uname to linux to prevent it finding the host's `libtool` on e.g. Darwin
|
||||||
|
run ./configure --uname=linux
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue