Files
axe-os/stage/toolchain/xz.bash
2026-03-25 16:26:52 +02:00

19 lines
343 B
Bash

fetch $XZ_URL
cd "$SOURCES" && tar xf xz-$XZ_VERSION.tar.xz && cd xz-$XZ_VERSION
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) \
--disable-static \
--silent \
--disable-nls \
--quiet
make && make DESTDIR="$SYSROOT" install
rm "$SYSROOT"/usr/lib/liblzma.la
cd "$SOURCES" && rm -rf xz-$XZ_VERSION