mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
fix(guix-1.5.0): use static guile pkg-config libs and stable libs ordering for daemon linking
This commit is contained in:
parent
6d0db68132
commit
bab05bbbe3
1 changed files with 4 additions and 2 deletions
|
|
@ -175,8 +175,10 @@ src_configure() {
|
|||
argp_ldflags="-L${KERNEL_SYSROOT}/lib"
|
||||
guile_cflags="$(PKG_CONFIG_LIBDIR="${pkg_config_path}" PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||
/usr/bin/pkg-config --cflags guile-3.0)"
|
||||
# Guix daemon links Guile statically in this environment; use --static so
|
||||
# private deps (e.g. libunistring for uc_* symbols) are included.
|
||||
guile_libs="$(PKG_CONFIG_LIBDIR="${pkg_config_path}" PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||
/usr/bin/pkg-config --libs guile-3.0)"
|
||||
/usr/bin/pkg-config --static --libs guile-3.0)"
|
||||
|
||||
probe_guile_module gnutls
|
||||
probe_guile_module git
|
||||
|
|
@ -199,7 +201,7 @@ src_configure() {
|
|||
GUILE_LIBS="${guile_libs}" \
|
||||
CPPFLAGS="${argp_cppflags} ${CPPFLAGS:-}" \
|
||||
LDFLAGS="${argp_ldflags} ${LDFLAGS:-}" \
|
||||
LIBS="-largp ${LIBS:-}" \
|
||||
LIBS="${LIBS:-} -largp" \
|
||||
./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${LIBDIR}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue