mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 11:06:32 +01:00
fix(argp-standalone): install argp artifacts manually into /kernel-toolchain instead of relying on make install
This commit is contained in:
parent
0a922a219d
commit
e727bcc2a7
1 changed files with 8 additions and 4 deletions
|
|
@ -29,8 +29,12 @@ src_compile() {
|
|||
}
|
||||
|
||||
src_install() {
|
||||
make "${MAKEJOBS}" install \
|
||||
DESTDIR="${DESTDIR}" \
|
||||
prefix="${KERNEL_SYSROOT}" \
|
||||
libdir="${KERNEL_SYSROOT}/lib"
|
||||
mkdir -p "${DESTDIR}${KERNEL_SYSROOT}/include"
|
||||
mkdir -p "${DESTDIR}${KERNEL_SYSROOT}/lib"
|
||||
|
||||
# noinst_HEADERS/noinst_LIBRARIES: install artifacts explicitly.
|
||||
test -f ../argp.h
|
||||
test -f libargp.a
|
||||
install -m644 ../argp.h "${DESTDIR}${KERNEL_SYSROOT}/include/argp.h"
|
||||
install -m644 libargp.a "${DESTDIR}${KERNEL_SYSROOT}/lib/libargp.a"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue