[php-src] PR #17857: Fix GH-17855: CURL_STATICLIB flag set even if linked with shared lib
| From: | cmb69 | Date: | Tue, 18 Feb 2025 19:01:26 +0000 |
| Subject: | [php-src] PR #17857: Fix GH-17855: CURL_STATICLIB flag set even if linked with shared lib | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30841@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17857
Author: cmb69
We must define
CURL_STATICLIB only when building against a static libcurl. The
detection relies on our usual naming conventions, what should be revised in the future (possibly
using pkg-config, or switching to CMake).