A lot of jdk docker images are
based on alpine without libstdc++ preinstalled. It is great to be able to use libasyncprofiler without having to modify the docker image that java is running on.
Please link libstdc++ statically but keep other dependencies like musl libc dynamically linked.
I can make a pull request if this is something that would be ok to have in all musl release builds, I am guessing something like this
g++ -shared -o your_library.so your_object_files.o -static-libstdc++ -Wl,-Bdynamic -lc