[PATCH] D2934: Do not append -ldl for sanitizers' tests on FreeBSD
Jan Beich via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 15:11:26 PDT 2019
jbeich added inline comments.
Herald added a subscriber: mgorny.
================
Comment at: lib/asan/tests/CMakeLists.txt:73
${ASAN_UNITTEST_COMMON_LINKFLAGS}
- -ldl -lm)
if(NOT ANDROID)
----------------
Better replace `-ldl` with `${CMAKE_DL_LIBS}` unconditionally. Same in other files.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D2934/new/
https://reviews.llvm.org/D2934
More information about the llvm-commits
mailing list