diff options
| -rw-r--r-- | compiler-rt/test/asan/lit.cfg | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/lit.cfg b/compiler-rt/test/asan/lit.cfg index c8bc55fe2cd..e84abc5d280 100644 --- a/compiler-rt/test/asan/lit.cfg +++ b/compiler-rt/test/asan/lit.cfg @@ -48,8 +48,7 @@ config.substitutions.append(('%env_asan_opts=', # Setup source root. config.test_source_root = os.path.dirname(__file__) -# There is no libdl on FreeBSD. -if config.host_os != 'FreeBSD': +if config.host_os not in ['FreeBSD', 'NetBSD']: libdl_flag = "-ldl" else: libdl_flag = "" |

