aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp
diff options
context:
space:
mode:
authorJF Bastien <jfb@google.com>2015-07-27 18:26:30 +0000
committerJF Bastien <jfb@google.com>2015-07-27 18:26:30 +0000
commitba70e9e1e63d88f09403e2643421d1baaed4de41 (patch)
treedd9fafe0461e134df1b0da01d93fb2baca299c6b /llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp
parent83934d3915f20347d9b8d916be40506beb752459 (diff)
downloadllvm-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