mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 09:45:24 +01:00
Install musl headers directly into /after/include.
This commit is contained in:
parent
1aeb4c11f7
commit
30ebe8ccba
4 changed files with 11 additions and 5 deletions
|
|
@ -14,8 +14,8 @@ src_configure() {
|
|||
--host=i386 \
|
||||
--disable-shared \
|
||||
--prefix=/after \
|
||||
--libdir=/after/lib/musl/ \
|
||||
--includedir=/after/include/musl
|
||||
--libdir=/after/lib/musl \
|
||||
--includedir=/after/include/
|
||||
|
||||
# configure script creates this file
|
||||
test -f /dev/null && rm /dev/null
|
||||
|
|
@ -24,3 +24,8 @@ src_configure() {
|
|||
src_compile() {
|
||||
make CROSS_COMPILE= CFLAGS="-DSYSCALL_NO_TLS" AS_CMD='as -o $@ $<'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
rm -rf /after/include
|
||||
make install
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue