build: tidy up internal macro names for libcurl.pc

Rename internal macros to match their `libcurl.pc` metadata counterpart.
Also apply these to the `curl-config.in` template.

- `CPPFLAG_CURL_STATICLIB` -> `LIBCURL_PC_CFLAGS`
- `LIBCURL_LIBS`           -> `LIBCURL_PC_LIBS_PRIVATE`
- `LIBCURL_NO_SHARED`      -> `LIBCURL_PC_LIBS`

Closes #14476
This commit is contained in:
Viktor Szakats 2024-08-09 17:45:46 +02:00
parent f3b14e1b0c
commit d222dbe788
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
11 changed files with 40 additions and 40 deletions

View file

@ -51,7 +51,7 @@ LIBS = $(BLANK_AT_MAKETIME)
# Dependencies
if USE_EXPLICIT_LIB_DEPS
LDADD = $(LIBDIR)/libcurl.la @LIBCURL_LIBS@
LDADD = $(LIBDIR)/libcurl.la @LIBCURL_PC_LIBS_PRIVATE@
else
LDADD = $(LIBDIR)/libcurl.la
endif