Files
llvm-project/lld/test/COFF/relative_search_paths.test
Tobias Hieta b6c2f100c2 [lld][COFF] Find libraries with relative paths.
This patch is spun out of https://reviews.llvm.org/D151188
and makes it possible for lld-link to find libraries with
relative paths. This will be used later to implement the
changes to autolinking runtimes explained in #63827

Differential Revision: https://reviews.llvm.org/D155268
2023-07-14 12:09:26 +02:00

5 lines
242 B
Plaintext

We should be able to find libraries with relative search paths.
# RUN: mkdir -p %t.dir/relative/path
# RUN: cp %p/Inputs/std64.lib %t.dir/relative/path
# RUN: lld-link %p/Inputs/hello64.obj /libpath:%t.dir relative/path/std64.lib /entry:main