Use symlink for sysroot

This commit is contained in:
Wildan M 2026-04-19 03:44:01 +07:00
parent c9489fd8dc
commit 8b2762e74b
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -86,7 +86,7 @@ ifeq ($(PODMAN_BUILD),1)
$(PODMAN_RUN) make $@
else
rm -rf "$@"
cp -r "$(PREFIX)/relibc-install/" "$@"
ln -s "relibc-install" "$@"
# adapt path for libtoolize
sed 's|/usr/share|$(ROOT)/$@/share|g' "$@/bin/libtoolize.orig" > "$@/bin/libtoolize"
chmod 0755 "$@/bin/libtoolize"