Skip to content
Snippets Groups Projects
Verified Commit 1c094f0b authored by Max Rees's avatar Max Rees
Browse files

system/musl: no, Patrick, echo -e is not portable either

parent 051371f0
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ package() {
make DESTDIR="$pkgdir" install
# make LDSO the be the real file, and libc the symlink
local LDSO="$(make -f Makefile --eval "$(echo -e 'print-ldso:\n\t@echo $$(basename $(LDSO_PATHNAME))')" print-ldso)"
local LDSO="$(make -f Makefile --eval "$(printf 'print-ldso:\n\t@echo $$(basename $(LDSO_PATHNAME))')" print-ldso)"
mv -f "$pkgdir"/usr/lib/libc.so "$pkgdir"/lib/"$LDSO"
ln -sf "$LDSO" "$pkgdir"/lib/libc.musl-${CARCH}.so.1
ln -sf ../../lib/"$LDSO" "$pkgdir"/usr/lib/libc.so
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment