From 50fb6c032e72a26b3fd881a18e1d1f535c95e0fc Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 17 May 2022 19:10:55 +0100 Subject: fixed packages for llvm based toolchain --- repo/system/musl/toolchain-musl.xibuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'repo/system/musl') diff --git a/repo/system/musl/toolchain-musl.xibuild b/repo/system/musl/toolchain-musl.xibuild index ed46c6e..4f73171 100644 --- a/repo/system/musl/toolchain-musl.xibuild +++ b/repo/system/musl/toolchain-musl.xibuild @@ -12,4 +12,16 @@ build () { package () { make install DESTDIR=$PKG_DEST + + rm -v $PKG_DEST/lib/ld-musl-x86_64.so.1 + ln -sv libc.so $PKG_DEST/lib/ld-musl-x86_64.so.1 + + mkdir $PKG_DEST/bin + mkdir $PKG_DEST/etc + ln -sv ../lib/libc.so $PKG_DEST/bin/ldd + + cat > $PKG_DEST/etc/ld-musl-x86_64.path << "EOF" +$PKG_DEST/lib +EOF + } -- cgit v1.2.1