diff options
author | JF Bastien <jfb@google.com> | 2015-07-27 18:26:30 +0000 |
---|---|---|
committer | JF Bastien <jfb@google.com> | 2015-07-27 18:26:30 +0000 |
commit | ba70e9e1e63d88f09403e2643421d1baaed4de41 (patch) | |
tree | dd9fafe0461e134df1b0da01d93fb2baca299c6b /llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp | |
parent | 83934d3915f20347d9b8d916be40506beb752459 (diff) | |
download | llvm-ba70e9e1e63d88f09403e2643421d1baaed4de41.zip llvm-ba70e9e1e63d88f09403e2643421d1baaed4de41.tar.gz llvm-ba70e9e1e63d88f09403e2643421d1baaed4de41.tar.bz2 |
Fix `llvm-config` to emit the linker flag for the combined shared object built by autoconfig/make instead of the individual components.
Summary:
When LLVM is configured to build shared libraries, CMake builds each component as it's own shared object, while autoconfig/make builds them statically and then links them all together to create a single shared object. This change adds compile time config flags to `llvm-config` so it can know whether LLVM's components are separated or not and act accordingly.
This fixes `llvm-config` instead of fixing the makefiles to behave like CMake because, AIUI, LLVM's autoconfig/make build system is on the way out anyway.
This change only affects `llvm-config` from builds that use autoconfig/make.
Reviewers: jfb
Subscribers: echristo, dschuff, llvm-commits
Differential Revision: http://reviews.llvm.org/D11392
llvm-svn: 243297
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp')
0 files changed, 0 insertions, 0 deletions