[PATCH] D46713: Do not link with -ldl in NetBSD/ASan tests
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 17 16:42:35 PDT 2018
vitalybuka accepted this revision.
vitalybuka added inline comments.
This revision is now accepted and ready to land.
================
Comment at: test/asan/lit.cfg:51
-# There is no libdl on FreeBSD.
-if config.host_os != 'FreeBSD':
+if config.host_os != 'FreeBSD' and config.host_os != 'NetBSD':
libdl_flag = "-ldl"
----------------
```
config.host_os not in ['FreeBSD', 'NetBSD']
```
Repository:
rL LLVM
https://reviews.llvm.org/D46713
More information about the llvm-commits
mailing list