llvm-project/llvm/test/tools/llvm-config
Michal Gorny d1b954884c [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
..
cflags.test [llvm-config] Fix cflags test looking for "error" 2016-12-12 23:03:28 +00:00
ldflags.test
libs.test [llvm-config] Add --ignore-libllvm 2016-12-13 22:17:59 +00:00
system-libs.test [llvm-config] Print --system-libs only when static linking 2017-01-06 21:33:54 +00:00
system-libs.windows.test [llvm-config] Print --system-libs only when static linking 2017-01-06 21:33:54 +00:00