Skip to content

libcurl.pc: add the Link.ABI and Source tags - #22519

Merged
dfandrich merged 1 commit into
masterfrom
dfandrich/pkgconf3
Aug 9, 2026
Merged

dfandrich merged 1 commit into
masterfrom
dfandrich/pkgconf3

Conversation

@dfandrich

Copy link
Copy Markdown
Contributor

Link.ABI is a feature of pkgconf 3.0 and indicates the ABI against which
a consumer must link the package. For libcurl, this is hard-coded as C.
Source is a URL from which to download the package tarball.

Closes #22519

Link.ABI is a feature of pkgconf 3.0 and indicates the ABI against which
a consumer must link the package. For libcurl, this is hard-coded as C.
Source is a URL from which to download the package tarball.

Closes #22519
@dfandrich
dfandrich merged commit 3f1c033 into master Aug 9, 2026
246 of 250 checks passed
@dfandrich
dfandrich deleted the dfandrich/pkgconf3 branch August 9, 2026 04:39
vszakats added a commit that referenced this pull request Aug 11, 2026
Also to improve `pccritic` score.

Idea-by: Dan Fandrich

Follow-up to 3f1c033 #22519
Cherry-picked from #22543

Closes #22545
vszakats added a commit to libssh2/libssh2 that referenced this pull request Aug 11, 2026
Link.ABI is a feature of pkgconf 3.0 and indicates the ABI against which
a consumer must link the package. For libssh2, this is hard-coded as C.
Source is a URL from which to download the package tarball. Also
include to SPDX license identifier.

Refs:
curl/curl@3f1c033
curl/curl#22519
curl/curl@4d9ba9f
curl/curl#22545

Credits-to: Dan Fandrich

Closes #2520
vszakats added a commit that referenced this pull request Aug 12, 2026
…pccritic` tool

`pccritic` is available on the latest macOS runner revision (not every
job runs get it yet), Cygwin, MSYS2/mingw-w64 (one job, others will
follow on the next msys2/setup-msys2 Action bump). It will be
automatically used on BSDs, once they start offering it. Missing from
Linux jobs.

Also:
- GHA/windows: convert `libcurl.pc` to Unix newlines to bump score
  96 to 100 in mingw-w64 jobs.
  CMake-specific fix pending in: #22556
- GHA: verify with minimum `pccritic` score 94 to 100 (depending on CI
  job).
- build: fill `Maintainer:` `libcurl.pc` property when run curl CI.

Issues remaining:

macOS:
```
[info    ] Cflags adds an include path already on the default search path (pkgconf strips it): -I/usr/local/include (cflags/PC031)
[info    ] Libs adds a library path already on the default search path (pkgconf strips it): -L/usr/local/lib (libs/PC040)
[minor   ] Libs.private contains an unexpected flag: /Applications/Xcode_26.6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk/System/Library/Frameworks/GSS.framework (libs/PC041)
```

Windows:
```
[minor   ] file uses CRLF line endings (style/PC061)
```

Ref: #22556
Follow-up to b9254da #22548
Follow-up to 852f5d3 #22553
Follow-up to 4d9ba9f #22545
Follow-up to 6c7993d #22536
Follow-up to 3f1c033 #22519

Closes #22543
dfandrich added a commit that referenced this pull request Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants