mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:47:46 +00:00
Toolchain: Fix building binutils on macOS with --enable-shared
This commit is contained in:
parent
ac0b8caa42
commit
68d721f973
1 changed files with 9 additions and 0 deletions
|
@ -102,6 +102,15 @@ pushd "$DIR/Build/"
|
||||||
--with-sysroot="$SYSROOT" \
|
--with-sysroot="$SYSROOT" \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-nls || exit 1
|
--disable-nls || exit 1
|
||||||
|
if [ "$(uname)" = "Darwin" ]; then
|
||||||
|
# under macOS generated makefiles are not resolving the "intl"
|
||||||
|
# dependency properly to allow linking its own copy of
|
||||||
|
# libintl when building with --enable-shared.
|
||||||
|
make -j "$MAKEJOBS" || true
|
||||||
|
pushd intl
|
||||||
|
make all-yes
|
||||||
|
popd
|
||||||
|
fi
|
||||||
make -j "$MAKEJOBS" || exit 1
|
make -j "$MAKEJOBS" || exit 1
|
||||||
make install || exit 1
|
make install || exit 1
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue