This is an automated email from the ASF dual-hosted git repository.

eze pushed a commit to branch 8.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/8.1.x by this push:
     new 7c37d22  check-unused-dependencies: add librt for clang/asan case 
(#8220) (#8288)
7c37d22 is described below

commit 7c37d22c6c41bacfc025d4d47c4ec6abda6fa2c9
Author: Brian Olsen <[email protected]>
AuthorDate: Mon Aug 30 08:51:33 2021 -0600

    check-unused-dependencies: add librt for clang/asan case (#8220) (#8288)
    
    (cherry picked from commit f8e9614032e8dc24e98f25449e209910dd27a4bc)
---
 tools/check-unused-dependencies | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/check-unused-dependencies b/tools/check-unused-dependencies
index 45ee526..2b4684b 100755
--- a/tools/check-unused-dependencies
+++ b/tools/check-unused-dependencies
@@ -53,7 +53,8 @@ def get_dependencies(program):
                     'libdl.so.',      # Because we add -ldl to LIBS
                     'libgcc_s.so.',
                     'libm.so.',       # Why does Libtool call ld with -lm?
-                    'libpthread.so.'  # Because we add -lpthread to LIBS
+                    'libpthread.so.', # Because we add -lpthread to LIBS
+                    'librt.so.'       # clang + asan pulls this in
                 ])):
             continue
 

Reply via email to