Fix windows curl build >= 8.3 (#660)

* Test windows curl

* Test windows curl

* Fix windows curl build for PHP 8.3 and 8.4
This commit is contained in:
Jerry Ma
2025-03-20 09:22:10 +08:00
committed by GitHub
parent 8a4ba7a876
commit 0bc143cac3
3 changed files with 11 additions and 9 deletions

View File

@@ -48,5 +48,7 @@ class curl extends WindowsLibraryBase
$this->builder->makeSimpleWrapper('cmake'),
"--build cmakebuild --config Release --target install -j{$this->builder->concurrency}"
);
// move libcurl.lib to libcurl_a.lib
rename(BUILD_LIB_PATH . '\libcurl.lib', BUILD_LIB_PATH . '\libcurl_a.lib');
}
}