As it was, always exporting LLVM_LINK_LLVM_DYLIB caused out-of-tree
clients to lose the ability to link against the dylib, even if in-tree tools did
not. By only exporting the setting if it is enabled, out-of-tree clients get the
correct default, but may still choose if they can.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Since the 8.0 branch is around the corner I'd really like feedback from @beanz whether this makes sense or not.
Comment Actions
LGTM.
After thinking more about it, this seems like the only sensible course.
Once you set this, you can't really go back, but you can delay setting it and this patch lets exactly that happen. Feel free to go ahead and submit, folks can follow-up post-commit if needed and it addresses an issue impacting Duncan and maybe others.