This is an archive of the discontinued LLVM Phabricator instance.

Do not append -ldl for sanitizers' tests on FreeBSD
Needs ReviewPublic

Authored by kutuzov.viktor.84 on Mar 4 2014, 4:55 AM.

Details

Reviewers
kcc
samsonov

Diff Detail

Event Timeline

I've submitted r202847 that should fix it in a different way.

I confirm that r202847 works as expected on FreeBSD 10.0. Thank you!

jbeich added a subscriber: jbeich.Sep 25 2019, 3:11 PM
jbeich added inline comments.
lib/asan/tests/CMakeLists.txt
73

Better replace -ldl with ${CMAKE_DL_LIBS} unconditionally. Same in other files.