mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-05 10:55:24 +01:00
Add LIBDIR variable for the musl library directory
LIBDIR should be used where possible to avoid unnecessary duplication in build scripts that target the musl toolchain. No change in package hashes.
This commit is contained in:
parent
c3a745c997
commit
59a13f0d09
49 changed files with 77 additions and 73 deletions
|
|
@ -44,12 +44,12 @@ src_prepare() {
|
|||
src_configure() {
|
||||
MACHDEP=linux ac_sys_system=Linux \
|
||||
CFLAGS="-U__DATE__ -U__TIME__" \
|
||||
LDFLAGS="-L/usr/lib/musl" \
|
||||
LDFLAGS="-L${LIBDIR}" \
|
||||
./configure \
|
||||
--build=i386-unknown-linux-musl \
|
||||
--host=i386-unknown-linux-musl \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${PREFIX}/lib/musl" \
|
||||
--libdir="${LIBDIR}" \
|
||||
--with-system-ffi \
|
||||
--enable-ipv6
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue