Skip to content

Commit

Permalink
Fix musl SONAME (#4762)
Browse files Browse the repository at this point in the history
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]
```
  • Loading branch information
staticfloat authored Apr 15, 2022
1 parent d12ce0b commit f99f620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M/Musl/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ musl_arch()
esac
}
export LDFLAGS="${LDFLAGS} -Wl,-soname,libc.musl-$(musl_target).so.1"
export LDFLAGS="${LDFLAGS} -Wl,-soname,libc.musl-$(musl_arch).so.1"
${WORKSPACE}/srcdir/musl-*/configure --prefix=/usr \
--build=${MACHTYPE} \
--host=${target} \
Expand Down

0 comments on commit f99f620

Please sign in to comment.