fix(mk/prefix.mk): fix libtool build

Worked for me before as I had the old sources. Now the ltversion should
be correct and libtool should be correctly built.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh 2024-12-21 20:28:11 +11:00
parent f8d2c7ed4b
commit a7c06e9b72
No known key found for this signature in database
GPG key ID: 80E0357347554B89

View file

@ -89,12 +89,13 @@ ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) $(MAKE) $@
else
mkdir -p "$@.partial"
cd "$@.partial" && \
cp -rp $(abspath $(PREFIX)/libtool)/. ./ && \
cd "$<" && \
./bootstrap \
--skip-po \
--force \
--gnulib-srcdir=./gnulib && \
--gnulib-srcdir=./gnulib
cd "$@.partial" && \
cp -rp $(abspath $<)/. ./ && \
"$(ROOT)/$</configure" \
--target="$(TARGET)" \
--prefix=$(abspath $(PREFIX)/sysroot) && \