diff options
author | davidovski <david@davidovski.xyz> | 2022-05-17 19:10:55 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-17 19:10:55 +0100 |
commit | 50fb6c032e72a26b3fd881a18e1d1f535c95e0fc (patch) | |
tree | 67e7043022f14f601dddd87be911d38a4d58269c /repo/system/musl | |
parent | 213021de0aaf5439db7d58ca1447db4ae6af92be (diff) |
fixed packages for llvm based toolchain
Diffstat (limited to 'repo/system/musl')
-rw-r--r-- | repo/system/musl/toolchain-musl.xibuild | 12 |
1 files changed, 12 insertions, 0 deletions
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 + } |