Stream: t-compiler/help

Topic: musl-build-scripts

joey (Aug 04 2020 at 08:40, on Zulip):

Hi, I'm trying to help someone that is using musl as a target. They're compiling a project that uses bindgen, which looks like it attempts to dlopen libclang from the build script. This fails because a statically linked musl cannot dlopen. So I guess maybe build-scripts need to ignore crt-static, like proc macros do?

joey (Aug 04 2020 at 09:13, on Zulip):

For example, Alpine linux seems to disable static linking by default, possibly for issues like this

Last update: Sep 28 2020 at 16:45UTC