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

c-ares / c-ares / 10887614056
92%

Build:
DEFAULT BRANCH: main
Ran 16 Sep 2024 04:05PM UTC
Jobs 1
Files 177
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:02PM UTC coverage: 90.583% (-0.005%) from 90.588%
10887614056

push

github

web-flow
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)

21673 of 23926 relevant lines covered (90.58%)

11789.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10887614056.1 16 Sep 2024 04:05PM UTC 0
58.96
GitHub Action Run
Source Files on build 10887614056
Detailed source file information is not available for this build.
  • Back to Repo
  • 79a4c630 on github
  • Prev Build on main (#10886534920)
  • Next Build on main (#10887865687)
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