1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/tools/llvm-config
Michal Gorny 22cda48e3b [llvm-config] Print --system-libs only when static linking
Modify the --system-libs option in llvm-config to print system libs only
when using static linking. The system libraries are irrelevant when
linking to a shared library since the library has appropriate library
dependencies embedded.

Modify the --system-libs test appropriately to force static linking, and
disable it if static libs are not available (i.e. BUILD_SHARED_LIBS is
enabled).

Differential Revision: https://reviews.llvm.org/D27805

llvm-svn: 291285
2017-01-06 21:33:54 +00:00
..
BuildVariables.inc.in
CMakeLists.txt cmake: Don't build llvm-config and tblgen concurrently in cross builds 2016-12-21 21:19:00 +00:00
llvm-config.cpp [llvm-config] Print --system-libs only when static linking 2017-01-06 21:33:54 +00:00