summaryrefslogtreecommitdiffstats
path: root/lld/test/mach-o/libresolve-multiple-syslibroots.yaml
blob: bc8e96462c2f0ebff5c00746f52ca8b382a4fcec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# RUN: ld64.lld -test_file_usage -v \
# RUN:        -path_exists /usr/lib \
# RUN:        -path_exists /Applications/MyFirstSDK/usr/local/lib \
# RUN:        -path_exists /Applications/MySecondSDK/usr/local/lib \
# RUN:        -path_exists /Applications/MyFirstSDK/usr/local/lib/libSystem.a \
# RUN:        -path_exists /Applications/MySecondSDK/usr/local/lib/libSystem.a \
# RUN:        -syslibroot /Applications/MyFirstSDK \
# RUN:        -syslibroot /Applications/MySecondSDK \
# RUN:        -lSystem \
# RUN: 2>&1 | FileCheck %s


# CHECK: Library search paths:
# CHECK:     /usr/lib
# CHECK:     /Applications/MyFirstSDK/usr/local/lib
# CHECK:     /Applications/MySecondSDK/usr/local/lib
# CHECK: Found library /Applications/MyFirstSDK/usr/local/lib/libSystem.a
OpenPOWER on IntegriCloud