Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #286438

Category None
Changed by Viktor Szakats <commitohnoyoudont@vsz.me>
Changed at Fri 16 Oct 2026 12:10:27
Repository https://api.github.com/repos/curl/curl
Project curl/curl
Branch master
Revision 05da26ed6cf2810791b32216441b1a776030c756

Comments

autotools: drop adjacent duplicate `LDFLAGS` from `libcurl.pc`

And from `curl-config`. To avoid repeat `pccritic` warnings for the same
potential issue.

Use POSIX `uniq`. It's its first use in curl's autotools code.

Also drop `pccritic` exception for FreeBSD 15.1, it now passes with
score 98, like the rest of BSD jobs. In this case the dupes were
originating from `$LDFLAGSPC`.
Ref: https://github.com/curl/curl/pull/23346#issuecomment-6103466075

Effect to `libcurl.pc` in the FreeBSD 15.1 CI job:
```diff
-Libs.private: -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lnghttp2 -lidn2 -lldap -llber -lssh2 -lssh2 -lpsl -lssl -lcrypto -lssl -lcrypto -L/usr/local/lib -lgssapi_krb5 -lzstd -lbrotlidec -lbrotlidec -lbrotlicommon -lz -pthread
+Libs.private: -L/usr/local/lib -lnghttp2 -lidn2 -lldap -llber -lssh2 -lssh2 -lpsl -lssl -lcrypto -lssl -lcrypto -L/usr/local/lib -lgssapi_krb5 -lzstd -lbrotlidec -lbrotlidec -lbrotlicommon -lz -pthread
```

Follow-up to ce0fe7124c2443f68a2501a557818e53e297fc61 #23346

Closes #23348

Changed files