Skip to content

Commit f99f620

Browse files
authored
Fix musl SONAME (#4762)
Without this, our default `musl` in the BB rootfs has the SONAME `libc.musl-.so.1`: ``` # readelf -d /lib/libc.musl-x86_64.so.1 Dynamic section at offset 0x94928 contains 18 entries: Tag Type Name/Value 0x000000000000000e (SONAME) Library soname: [libc.musl-.so.1] ```
1 parent d12ce0b commit f99f620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

M/Musl/build_tarballs.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ musl_arch()
2929
esac
3030
}
3131
32-
export LDFLAGS="${LDFLAGS} -Wl,-soname,libc.musl-$(musl_target).so.1"
32+
export LDFLAGS="${LDFLAGS} -Wl,-soname,libc.musl-$(musl_arch).so.1"
3333
${WORKSPACE}/srcdir/musl-*/configure --prefix=/usr \
3434
--build=${MACHTYPE} \
3535
--host=${target} \

0 commit comments

Comments
 (0)