mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
Make libtool cloning works for older git
This commit is contained in:
parent
3b67441ef1
commit
5ebd0729f9
@ -75,12 +75,12 @@ $(PREFIX)/libtool:
|
||||
mkdir -p "$@.partial"
|
||||
|
||||
git clone \
|
||||
--recurse-submodules \
|
||||
--shallow-submodules \
|
||||
"https://gitlab.redox-os.org/redox-os/libtool/" \
|
||||
--branch "v$(LIBTOOL_VERSION)-redox" \
|
||||
--filter=tree:0 \
|
||||
--depth 2 \
|
||||
"$@.partial"
|
||||
git -C "$@.partial" submodule update \
|
||||
--filter=tree:0 --init --recursive
|
||||
|
||||
touch "$@.partial"
|
||||
echo $(LIBTOOL_VERSION) > $@.partial/.tarball-version
|
||||
|
||||
Loading…
Reference in New Issue
Block a user