mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
22cda48e3b
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
7 lines
161 B
Plaintext
7 lines
161 B
Plaintext
RUN: llvm-config --link-static --system-libs 2>&1 | FileCheck %s
|
|
REQUIRES: static-libs
|
|
UNSUPPORTED: system-windows
|
|
CHECK: -l
|
|
CHECK-NOT: error
|
|
CHECK-NOT: warning
|