Makefile.m32: stop trying to build libcares.a [ci skip] #9169
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.
Before this patch,
lib/Makefile.m32
had a rule to buildlibcares.a
in-cares
-enabled builds, via c-ares's ownMakefile.m32
. Committed in2007 [1]. The commit message doesn't specifically address this particular
change. No other curl dependency has such special treatment. It probably
helped building a curl + c-ares combo in a single go, back when there
were less optional curl dependencies? I can only guess.
This feature creates problems when building c-ares first, using CMake
and pointing
LIBCARES_PATH
to its install prefix, whereMakefile.m32
is missing in such case. A sub-build for c-ares is undesired also when
c-ares had already been build via its own
Makefile.m32
.So, to avoid the sub-build, this patch deletes its Makefile rule. After
this patch
libcares.a
needs to be manually built before using it inMakefile.m32
. Aligning it with the rest of dependencies.[1] 46c92c0