[PATCH] D46713: Do not link with -ldl in NetBSD/ASan tests

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 18 18:06:43 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT332790: Do not link with -ldl in NetBSD/ASan tests (authored by kamil, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D46713?vs=146185&id=147630#toc

Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D46713

Files:
  test/asan/lit.cfg


Index: test/asan/lit.cfg
===================================================================
--- test/asan/lit.cfg
+++ test/asan/lit.cfg
@@ -48,8 +48,7 @@
 # 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 = ""


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46713.147630.patch
Type: text/x-patch
Size: 396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180519/f58e00ba/attachment.bin>


More information about the llvm-commits mailing list