Repository navigation
Conversation
vszakats
force-pushed
the
am-brotlicommon
branch
from
June 23, 2025 17:13
1e1a83e to
25cc183
Compare
brotlicommon library for brotli
brotlicommon library for brotlibrotlicommon library for static brotli
brotlicommon library for static brotlibrotlicommon library for brotli
bagder
approved these changes
Jun 25, 2025
Contributor
|
It looks like libbrotlicommon has been there since the first cmake-buildable version of libbrotli (0.6.0) so this seems safe to me. |
dfandrich
approved these changes
Jun 25, 2025
| CPP_BROTLI="$CPP_BROTLI `$PKGCONFIG --cflags-only-I libbrotlicommon`" | ||
| fi | ||
|
|
||
| DIR_BROTLI=`echo $LD_BROTLI | $SED -e 's/^-L//'` |
Contributor
There was a problem hiding this comment.
This can end up empty which adds an empty component to CURL_LIBRARY_PATH but I assume that ends up being harmless.
Member
Author
There was a problem hiding this comment.
I think this case should be covered by this check later in the detection:
Lines 1485 to 1495 in 6c85579
Member
Author
|
@bagder @dfandrich Thanks for your reviews! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
brotlicommonis necessary when linking brotli statically.E.g. on Alpine Linux with
PKG_CONFIG='pkg-config --static'.It also syncs brotli libs listed in
libcurl.pcandcurl-configwiththose generated by cmake, which already listed
brotlicommonthere.Also:
Ref: 69cda1b
Follow-up to f2adb3b #15431
Reported-by: Christopher Boyd
Fixes #17678