mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 09:20:28 +03:00
Ports/bzip2: Set AR and RANLIB
bzip2's Makefile uses the '=' operator to set these variables so they cannot be overridden by just the environment variables; we have to pass them on the command line. This change ensures that the system ar/ranlib are no longer used, so the port can be build on macOS or non-x86 Linux.
This commit is contained in:
parent
407231f11c
commit
34ae69b99d
Notes:
sideshowbarker
2024-07-17 08:26:42 +09:00
Author: https://github.com/BertalanD Commit: https://github.com/SerenityOS/serenity/commit/34ae69b99d Pull-request: https://github.com/SerenityOS/serenity/pull/14748
@ -7,9 +7,9 @@ makeopts=("bzip2")
|
||||
installopts=("PREFIX=${SERENITY_INSTALL_ROOT}/usr/local")
|
||||
|
||||
build() {
|
||||
run make CC="${CC}" "${makeopts[@]}" bzip2
|
||||
run make CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" "${makeopts[@]}" bzip2
|
||||
}
|
||||
|
||||
install() {
|
||||
run make DESTDIR=${SERENITY_INSTALL_ROOT} CC="${CC}" "${installopts[@]}" install
|
||||
run make DESTDIR=${SERENITY_INSTALL_ROOT} CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" "${installopts[@]}" install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user