mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 11:06:32 +01:00
fix(steps-guix): bootstrap guile-gcrypt configure with autoreconf and out-of-tree build
This commit is contained in:
parent
faeff8acc4
commit
e931553f1b
1 changed files with 5 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
src_prepare() {
|
||||
default
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
|
@ -11,10 +12,13 @@ src_configure() {
|
|||
libgcrypt_prefix="$(PKG_CONFIG_PATH="${pkg_config_path}" pkg-config --variable=prefix libgcrypt)"
|
||||
libgcrypt_libdir="$(PKG_CONFIG_PATH="${pkg_config_path}" pkg-config --variable=libdir libgcrypt)"
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
PATH="${PREFIX}/bin:/usr/bin:/bin" \
|
||||
PKG_CONFIG_PATH="${pkg_config_path}" \
|
||||
LD_LIBRARY_PATH="${libgcrypt_libdir}:${LIBDIR}:${PREFIX}/lib:${LD_LIBRARY_PATH}" \
|
||||
./configure \
|
||||
../configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${LIBDIR}" \
|
||||
--host="${host_triplet}" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue