diff options
| author | Richard Diamond <wichard@vitalitystudios.com> | 2015-11-09 23:15:38 +0000 |
|---|---|---|
| committer | Richard Diamond <wichard@vitalitystudios.com> | 2015-11-09 23:15:38 +0000 |
| commit | 72303a243687c0474c7076d9174f4f2fa111c38f (patch) | |
| tree | 9358169d51261040a7c0051eb28c46475b8cec96 /llvm/lib | |
| parent | 40aa9c6d00854e13c75e1c360576039e1c1f35a7 (diff) | |
| download | bcm5719-llvm-72303a243687c0474c7076d9174f4f2fa111c38f.tar.gz bcm5719-llvm-72303a243687c0474c7076d9174f4f2fa111c38f.zip | |
Fix `llvm-config` to adapt to the install environment.
Summary:
This patch does a couple of things:
- Adds a new argument `--shared-mode` which accepts a list of components and prints whether or not the provided components need to be linked statically or shared.
- Fixes `--libnames` when CMake BUILD_SHARED_LIBS is used.
- Fixes `--libnames`, `--libs`, and `--libfiles` for dylib when static components aren't installed.
- Fixes `--libnames`, `--libs`, `--libfiles`, and `--components` to use LLVM_DYLIB_COMPONENTS as the component manifest for dylib linking.
- Uses the host platform's usual convention for filename extensions and such, instead of always defaulting to Unix-izms.
Because I don't own a Mac, I am not able to test the Mac platform dependent stuff locally. If someone would be willing to run a build for me on their machine (unless there's a better option), I'd appreciate it.
Reviewers: jfb, brad.king, whitequark, beanz
Subscribers: beanz, jauhien, llvm-commits
Differential Revision: http://reviews.llvm.org/D13198
llvm-svn: 252532
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

