mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
fix(guile-bootstrap): force static linking for guile 2.2.4 seed
This commit is contained in:
parent
4324f23d48
commit
20eb963da1
1 changed files with 3 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ src_configure() {
|
||||||
PKG_CONFIG_PATH="${pkg_config_path}" \
|
PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||||
LIBFFI_CFLAGS="${libffi_cflags}" \
|
LIBFFI_CFLAGS="${libffi_cflags}" \
|
||||||
LIBFFI_LIBS="${libffi_libs}" \
|
LIBFFI_LIBS="${libffi_libs}" \
|
||||||
|
LDFLAGS="-static" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="${SEED_PREFIX}" \
|
--prefix="${SEED_PREFIX}" \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
|
|
@ -25,13 +26,13 @@ src_configure() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
default_src_compile
|
make "${MAKEJOBS}" -f Makefile PREFIX="${PREFIX}" LDFLAGS="-static"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
local stage
|
local stage
|
||||||
stage="${DESTDIR}${SEED_PREFIX}"
|
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"
|
seed_make_repro_tar_xz "${stage}" "${DISTFILES}/guile-static-stripped-2.2.4-i686-linux.tar.xz"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue