mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 18:46:18 +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
|
@ -6,7 +6,8 @@ files="https://www.zlib.net/zlib-${version}.tar.gz zlib-${version}.tar.gz c3e5e9
|
|||
auth_type="sha256"
|
||||
|
||||
configure() {
|
||||
run ./configure
|
||||
# Set uname to linux to prevent it finding the host's `libtool` on e.g. Darwin
|
||||
run ./configure --uname=linux
|
||||
}
|
||||
|
||||
install() {
|
||||
|
|
Loading…
Reference in a new issue