• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

c-ares / c-ares / 10888079638
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: more-record-types
DEFAULT BRANCH: main
Ran 16 Sep 2024 04:33PM UTC
Jobs 1
Files 173
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Sep 2024 04:31PM UTC coverage: 92.012% (-0.009%) from 92.021%
10888079638

push

github

bradh352
CMake: strip -l prefix on CMAKE_THREAD_LIBS_INIT (#884)

As per Issue #883, an incorrect `libcares.pc` can be generated when
`CMAKE_THREAD_LIBS_INIT` contains a value like `-lpthread` because it
gets added to `libcares.pc` with another `-l` prefix. We can't control
the behavior of `CMAKE_THREAD_LIBS_INIT` since its set by `FIND_PACKAGE
(Threads)`.

Lets strip the `-l` prefix from the library before adding it to
`CARES_DEPENDENT_LIBS` which is used in the generation of `libcares.pc`.

Fixes #883 
Reported-By: 前进,前进,进 (@leleliu008)
Fix By: Brad House (@bradh352)

20549 of 22333 relevant lines covered (92.01%)

99422.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10888079638.1 16 Sep 2024 04:33PM UTC 0
58.49
GitHub Action Run
Source Files on build 10888079638
Detailed source file information is not available for this build.
  • Back to Repo
  • 66d82612 on github
  • Prev Build on v1.33 (#10875985659)
  • Next Build on v1.33 (#11325450946)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc