mirror of
https://github.com/bensuperpc/dockcross.git
synced 2026-07-26 04:48:08 +02:00
Build git without gettext to avoid missing msgfmt
The pypa manylinux_2_34 base image does not provide the msgfmt binary, causing the git source build to fail. Git translations are not needed in a build container.
This commit is contained in:
@@ -33,8 +33,8 @@ tar xvzf "${GIT_ROOT}.tar.gz" --no-same-owner
|
|||||||
|
|
||||||
pushd "${GIT_ROOT}"
|
pushd "${GIT_ROOT}"
|
||||||
./configure --prefix=/usr/local --with-curl
|
./configure --prefix=/usr/local --with-curl
|
||||||
make -j"$(nproc)"
|
make -j"$(nproc)" NO_GETTEXT=YesPlease
|
||||||
make install
|
make NO_GETTEXT=YesPlease install
|
||||||
popd
|
popd
|
||||||
rm -rf "${GIT_ROOT}" "${GIT_ROOT}.tar.gz"
|
rm -rf "${GIT_ROOT}" "${GIT_ROOT}.tar.gz"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user