mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
fix(guix-1.5.0): set deterministic pkg-config and guile-3.0 flags in configure
This commit is contained in:
parent
5cea0ba08a
commit
bd208bf124
1 changed files with 11 additions and 1 deletions
|
|
@ -77,9 +77,19 @@ src_prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local host_triplet
|
local host_triplet pkg_config_path guile_cflags guile_libs
|
||||||
host_triplet="$(gcc -dumpmachine)"
|
host_triplet="$(gcc -dumpmachine)"
|
||||||
|
pkg_config_path="${LIBDIR}/pkgconfig:${PREFIX}/lib/pkgconfig:${PREFIX}/share/pkgconfig"
|
||||||
|
guile_cflags="$(PKG_CONFIG_LIBDIR="${pkg_config_path}" PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||||
|
/usr/bin/pkg-config --cflags guile-3.0)"
|
||||||
|
guile_libs="$(PKG_CONFIG_LIBDIR="${pkg_config_path}" PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||||
|
/usr/bin/pkg-config --libs guile-3.0)"
|
||||||
|
|
||||||
|
PKG_CONFIG="/usr/bin/pkg-config" \
|
||||||
|
PKG_CONFIG_LIBDIR="${pkg_config_path}" \
|
||||||
|
PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||||
|
GUILE_CFLAGS="${guile_cflags}" \
|
||||||
|
GUILE_LIBS="${guile_libs}" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix="${PREFIX}" \
|
--prefix="${PREFIX}" \
|
||||||
--libdir="${LIBDIR}" \
|
--libdir="${LIBDIR}" \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue