Go to file
Viktor Szakats 7c0b6eb3bd
cmake: respect cflags/libdirs of native pkg-config detections
In Find modules with native pkg-config detection (libgsasl, libidn2,
libssh, libuv, nettle) use the C compiler flags returned by pkg-config.
Also use the library paths, and return the pathless library names.

Also:
- add these library paths to `libcurl.pc`/`curl-config`.
- fix libgsasl detection to use the detected header directory.

FindGSS already did this before this patch.

Fixes #14641

Closes #14652
2024-08-23 10:43:43 +02:00
.circleci GHA/macos: improve, fix gcc/llvm, add new test matrix 2024-07-19 12:45:18 +02:00
.github gha labeler: make labeler.yml human-readable 2024-08-23 08:48:20 +02:00
CMake cmake: respect cflags/libdirs of native pkg-config detections 2024-08-23 10:43:43 +02:00
docs FEATURES.md: fix typo 2024-08-23 08:46:09 +02:00
include test1521: verify setting options to NULL better 2024-08-23 08:24:34 +02:00
lib test1521: verify setting options to NULL better 2024-08-23 08:24:34 +02:00
LICENSES
m4 configure: fix indentation 2024-08-22 12:46:12 +02:00
packages misc: general C style cleanups 2024-08-22 23:43:45 +02:00
plan9
projects misc: general C style cleanups 2024-08-22 23:43:45 +02:00
scripts GHA: add a checksrc job 2024-08-22 23:43:52 +02:00
src src: delete curlx_m*printf() aliases 2024-08-22 17:06:06 +02:00
tests test1521: verify setting options to NULL better 2024-08-23 08:24:34 +02:00
winbuild tidy-up: OS names 2024-08-04 19:17:45 +02:00
.azure-pipelines.yml CI/azure: disable parallel tests, allow IDN tests 2024-08-19 14:09:14 +02:00
.dcignore
.dir-locals.el
.git-blame-ignore-revs
.gitattributes winbuild: MS-DOS batch tidy-ups 2024-07-02 19:26:15 +02:00
.gitignore CHANGES: rename to CHANGES.md, no longer generated 2024-08-01 13:37:12 +02:00
.mailmap mailmap: dedupe an author showing up twice in shortlog -s 2024-07-30 14:25:30 +02:00
acinclude.m4 configure: fix indentation 2024-08-22 12:46:12 +02:00
appveyor.sh cmake: show warning if libpsl is not found 2024-08-15 10:38:46 +02:00
appveyor.yml appveyor: drop uploading artifacts 2024-08-18 12:22:53 +02:00
buildconf
buildconf.bat
CHANGES.md CHANGES: rename to CHANGES.md, no longer generated 2024-08-01 13:37:12 +02:00
CMakeLists.txt cmake: respect cflags/libdirs of native pkg-config detections 2024-08-23 10:43:43 +02:00
configure.ac tidy-up: spelling WebSockets 2024-08-22 17:43:57 +02:00
COPYING
curl-config.in build: tidy up internal macro names for libcurl.pc 2024-08-12 14:56:41 +02:00
Dockerfile Dockerfile: update debian:bookworm-slim to 39868a6 2024-07-03 08:39:27 +02:00
GIT-INFO.md GIT-INFO.md: remove version requirements 2024-07-08 23:06:05 +02:00
libcurl.def
libcurl.pc.in build: tidy up internal macro names for libcurl.pc 2024-08-12 14:56:41 +02:00
Makefile.am cmake: migrate dependency detections to Find modules 2024-08-20 11:38:40 +02:00
Makefile.dist
maketgz dist: drop buildconf 2024-08-06 13:43:20 +02:00
README
README.md
RELEASE-NOTES RELEASE-NOTES: synced 2024-08-22 09:44:54 +02:00
renovate.json GHA: unify http3 workflows into one 2024-06-01 10:57:23 +02:00
REUSE.toml CHANGES: rename to CHANGES.md, no longer generated 2024-08-01 13:37:12 +02:00
SECURITY.md docs: Clarify OpenSSF Best Practices vs Scorecard 2024-08-22 11:50:20 +02:00

curl logo

Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document.

libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how.

You can find answers to the most frequent questions we get in the FAQ document.

Study the COPYING file for distribution terms.

Contact

If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.

All contributors to the project are listed in the THANKS document.

Commercial support

For commercial support, maybe private and dedicated help with your problems or applications using (lib)curl visit the support page.

Website

Visit the curl website for the latest news and downloads.

Git

To download the latest source from the Git server, do this:

git clone https://github.com/curl/curl.git

(you will get a directory named curl created, filled with the source code)

Security problems

Report suspected security problems via our HackerOne page and not in public.

Notice

Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.

Backers

Thank you to all our backers! 🙏 Become a backer.

Sponsors

Support this project by becoming a sponsor.