mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-13 23:05:24 +01:00
This also required - merging of usr/sbin and usr/bin (which should be done anyway), because of a dodgy PATH searcher - moving of zlib earlier.
19 lines
492 B
Bash
19 lines
492 B
Bash
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
|
#
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
src_configure() {
|
|
PKG_CONFIG_PATH="${PREFIX}/lib/musl/pkgconfig" \
|
|
./configure --prefix="${PREFIX}" \
|
|
--libdir="${PREFIX}/lib/musl" \
|
|
--pkgconfigdir="${PREFIX}/lib/musl/pkgconfig" \
|
|
--enable-rpath \
|
|
--enable-static
|
|
echo "CFLAGS += -Wno-error" >> config.mk
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
rm "${PREFIX}/lib/musl/libxbps.so"*
|
|
}
|