From 79c82d8fc0a4f6618429a0373bb832afd105543e Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 27 Feb 2022 00:55:34 +0000 Subject: added all missing libraries and headers that musl doesnt have --- repo/system/musl.xibuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'repo/system/musl.xibuild') 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 } -- cgit v1.2.1