[lld] [lld][WebAssembly] Always search *.so for -Bdynamic (PR #84288)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 07:15:51 PST 2024
https://github.com/sbc100 commented:
Seems like a good change.
How about we keep `-Bdynamic` as the default when building with `-shared` and/or `-pie` ? It seems like in those modes we want to consume shared libraries by default.
Another alternative is that we always prefer shared libraries unless `-static` is passed? then it would be up to the clang driver (or users) to specify `-static` in the presence of both `.so` and `.a` files.
Ideally we would have some flag
https://github.com/llvm/llvm-project/pull/84288
More information about the llvm-commits
mailing list