fix(guile-bootstrap): force static linking for guile 2.2.4 seed

This commit is contained in:
vxtls 2026-03-14 14:21:25 -04:00
parent 4324f23d48
commit 20eb963da1

View file

@ -18,6 +18,7 @@ src_configure() {
PKG_CONFIG_PATH="${pkg_config_path}" \
LIBFFI_CFLAGS="${libffi_cflags}" \
LIBFFI_LIBS="${libffi_libs}" \
LDFLAGS="-static" \
./configure \
--prefix="${SEED_PREFIX}" \
--disable-shared \
@ -25,13 +26,13 @@ src_configure() {
}
src_compile() {
default_src_compile
make "${MAKEJOBS}" -f Makefile PREFIX="${PREFIX}" LDFLAGS="-static"
}
src_install() {
local stage
stage="${DESTDIR}${SEED_PREFIX}"
make DESTDIR="${DESTDIR}" install
make DESTDIR="${DESTDIR}" LDFLAGS="-static" install
seed_make_repro_tar_xz "${stage}" "${DISTFILES}/guile-static-stripped-2.2.4-i686-linux.tar.xz"
}