Unverified Commit d1a461db authored by Dominik Wójt's avatar Dominik Wójt Committed by GitHub
Browse files

[libc++] tests with picolibc: prevent looking for unneeded "rt" library (#82262)

Picolibc does not provide the clock_gettime function nor the "rt" library.
check_library_exists was invalidly detecting the "rt" library due to cmake issue 
present, when cross-compiling[1]. This resulted with "chrono.cpp" trying to link
to the "rt" library and following error:
    unable to find library from dependent library specifier: rt

[1] https://gitlab.kitware.com/cmake/cmake/-/issues/18121
parent 6ee9c8af
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment