diff options
author | Michal Gorny <mgorny@gentoo.org> | 2017-01-06 21:33:54 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2017-01-06 21:33:54 +0000 |
commit | d1b954884cd83701054f2c1ff8efc7b84b5c8cc4 (patch) | |
tree | 247dade0fcd569d4da995d3dd1fbfa4a5ab3a7b4 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | 9283f5b200585dfe9265bd23ad24234bcb5ed8d4 (diff) | |
download | bcm5719-llvm-d1b954884cd83701054f2c1ff8efc7b84b5c8cc4.tar.gz bcm5719-llvm-d1b954884cd83701054f2c1ff8efc7b84b5c8cc4.zip |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions