mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
fix(musl)
This commit is contained in:
parent
cb6743d374
commit
f3f523834f
1 changed files with 4 additions and 4 deletions
|
@ -21,16 +21,16 @@ build:
|
|||
# musl is linux only, so just make passthrough scripts on Darwin
|
||||
if test {{ hw.platform }} != "linux"
|
||||
then
|
||||
mkdir {{ prefix }}/bin
|
||||
cat > {{ prefix }}/ld.musl-clang <<EOF
|
||||
mkdir -p "{{ prefix }}/bin"
|
||||
cat > {{ prefix }}/bin/ld.musl-clang <<EOF
|
||||
#!/bin/sh
|
||||
exec ld "$@"
|
||||
EOF
|
||||
cat > {{ prefix }}/musl-clang <<EOF
|
||||
cat > {{ prefix }}/bin/musl-clang <<EOF
|
||||
#!/bin/sh
|
||||
exec cc "$@"
|
||||
EOF
|
||||
chmod +x {{ prefix }}/ld.musl-clang {{ prefix }}/musl-clang
|
||||
chmod +x {{ prefix }}/bin/ld.musl-clang {{ prefix }}/bin/musl-clang
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue