summaryrefslogtreecommitdiff
path: root/repo/system/musl.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-27 00:55:34 +0000
committerdavidovski <david@davidovski.xyz>2022-02-27 00:55:34 +0000
commit79c82d8fc0a4f6618429a0373bb832afd105543e (patch)
tree81353122644b10b2c3d5be52bf3524890cbc377b /repo/system/musl.xibuild
parent7e7775ad670c99b2823d812c782f6ff258e79b9b (diff)
added all missing libraries and headers that musl doesnt have
Diffstat (limited to 'repo/system/musl.xibuild')
-rw-r--r--repo/system/musl.xibuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/repo/system/musl.xibuild b/repo/system/musl.xibuild
index 921736d..d986ae7 100644
--- a/repo/system/musl.xibuild
+++ b/repo/system/musl.xibuild
@@ -32,9 +32,14 @@ build () {
}
package () {
- make DESTDIR=$PKG_DEST install
- ln -sv /lib/ld-musl-$ARCH.so.1 $PKG_DEST/bin/ldd
- ln -sv libc.so $PKG_DEST/usr/lib/libc.musl-x86_64.so.1
+ make DESTDIR=$PKG_DEST install &&
+
+ install -d $PKG_DEST/etc
+ install -d $PKG_DEST/bin
+ install -d $PKG_DEST/lib
+
+ ln -s /lib/ld-musl-x86_64.so.1 $PKG_DEST/bin/ldd
+ ln -s libc.so $PKG_DEST/usr/lib/libc.musl-x86_64.so.1
cat > $PKG_DEST/etc/ld-musl-x86_64.path << "EOF"
/lib
@@ -42,6 +47,6 @@ package () {
/usr/lib
EOF
- rm -v $PKG_DEST/usr/include/utmpx.h
+ rm $PKG_DEST/usr/include/utmpx.h
}