Skip to content

Commit

Permalink
libc: expose it as musl
Browse files Browse the repository at this point in the history
This patch exposes the libc implementation which is greatly
a subset of musl as such so that binaries built for musl-based
Linux distributions like alpine do not complain about its absence.

References #1070.

Signed-off-by: Waldemar Kozaczuk <[email protected]>
  • Loading branch information
wkozaczuk committed Jan 10, 2020
1 parent e5515cf commit 287c379
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/elf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,7 @@ program::program(void* addr)
"libm.so.6",
#ifdef __x86_64__
"ld-linux-x86-64.so.2",
"libc.musl-x86_64.so.1",
// As noted in issue #1040 Boost version 1.69.0 and above is
// compiled with hidden visibility, so even if the kernel uses
// this library, it will not be visible for the application and
Expand Down

0 comments on commit 287c379

Please sign in to comment.