[PATCH] D11392: Fix `llvm-config` to emit the linker flag for the combined shared object built by autoconfig/make instead of the individual components.
Richard Diamond
wichard at vitalitystudios.com
Tue Jul 21 10:33:44 PDT 2015
DiamondLovesYou created this revision.
DiamondLovesYou added a reviewer: jfb.
DiamondLovesYou added subscribers: llvm-commits, dschuff, echristo.
DiamondLovesYou set the repository for this revision to rL LLVM.
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 if LLVM wether its components are separated or not and act accourdingly.
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.
Repository:
rL LLVM
http://reviews.llvm.org/D11392
Files:
bindings/ocaml/Makefile.ocaml
tools/llvm-config/BuildVariables.inc.in
tools/llvm-config/CMakeLists.txt
tools/llvm-config/Makefile
tools/llvm-config/llvm-config.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11392.30267.patch
Type: text/x-patch
Size: 4375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150721/6e7fb0fd/attachment.bin>
More information about the llvm-commits
mailing list