Skip to content

autotools: drop adjacent duplicate LIBS from libcurl.pc - #23447

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:am-dedupe-libs
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:am-dedupe-libs

Conversation

@vszakats

@vszakats vszakats commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

And from curl-config. To reduce redundant items and to bring the lib
lists closer to their CMake-generated counterparts.

Effect to libcurl.pc in the FreeBSD 15.1 CI job:

-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
+Libs.private: -L/usr/local/lib -lnghttp2 -lidn2 -lldap -llber -lssh2 -lpsl -lssl -lcrypto -lssl -lcrypto -L/usr/local/lib -lgssapi_krb5 -lzstd -lbrotlidec -lbrotlicommon -lz -pthread

Ref: #23348 (comment)
Follow-up to 05da26e #23348

And from `curl-config`. To bring the lib lists closer to their
CMake-generated counterparts.

Ref: curl#23348 (comment)
Follow-up to 05da26e curl#23348

---

Is there a rare system that may be sensitive to this? Are there perhaps
weird things passed around in LIBS where adjacent duplicate options may
be significant?
@vszakats vszakats added the build label Oct 17, 2026
@vszakats
vszakats marked this pull request as draft October 17, 2026 00:41
@vszakats
vszakats marked this pull request as ready for review October 17, 2026 14:21
@vszakats vszakats closed this in 49ddcd9 Oct 18, 2026
@vszakats
vszakats deleted the am-dedupe-libs branch October 18, 2026 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant