[PATCH] D11392: Fix `llvm-config` to emit the linker flag for the combined shared object built by autoconfig/make instead of the individual components.
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4375 bytes
Desc: not available
More information about the llvm-commits