This fixes llvm-config instead of fixing the makefiles because, AIUI, LLVM's autoconfig/make build system is on the way out anyway.
This change only affects builds that use autoconfig/make.
Differential D10716
Fix `llvm-config` to emit the linker flag for the combined shared object built by autoconfig/make instead of the individual components. DiamondLovesYou on Jun 24 2015, 3:53 PM. Authored by
Details
This fixes llvm-config instead of fixing the makefiles because, AIUI, LLVM's autoconfig/make build system is on the way out anyway. This change only affects builds that use autoconfig/make.
Diff Detail
Event TimelineComment Actions IIUC this is a problem when a toolchain is built with autoconf with dynamic libraries, and only ships the dynamic libraries (not the intermediate .a files). A regular build of LLVM has these .a files and aggregates all of them into the .so, so a toolchain would be silly to distribute the .a files because they're redundant. This change seems useful, but I'd defer to folks such as @echristo who know better than I what LLVM's build system expects. Comment Actions lgtm after this change.
|
Taking a second look at this, could you restructure to: