-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure: trust pkg-config when it's used for zlib
The library flags retrieved from pkg-config were later thrown out and harded-coded, which negates the whole reason to use pkg-config. Also, previously, the assumption was made that --libs-only-l and --libs-only-L are the full decomposition of --libs, which is untrue and would not allow linking against a static zlib. The new approach is better in that it uses --libs, although only if --libs-only-l returns nothing. Bug: https://curl.se/mail/lib-2023-08/0081.html Reported-by: Randall Closes curl#11778
- Loading branch information
Showing
1 changed file
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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