Re: Windows build of extension of http_message
| From: | Christoph M. Becker | Date: | Thu, 11 Jul 2019 08:50:54 +0000 |
| Subject: | Re: Windows build of extension of http_message | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-16088@lists.php.net to get a copy of this message | ||
On 11.07.2019 at 09:34, Arnold Daniels wrote:
> I've added the new http_message package to pecl. It depends on the psr extension, not only
> at runtime but it also needs to php_psr.h header file to build.
>
> On Linux, the header file is automatically copied the PHP include dir on
make
> install, but on Windows you need to do that manually if you just copy php_psr.dll.
>
> Is there a way to fix the Windows build?
>
> As reference, the package is build on AppVeyor;
> https://ci.appveyor.com/project/jasny/http-message
I think exts.ini[1] needs a section for http_message declaring the psr
extension requirement. It might also be necessary to add something like
ADD_EXTENSION_DEP("http_message", "psr") to config.w32.
[1]
<https://github.com/php/web-rmtools/blob/master/data/config/pecl/exts.ini>
Regards,
Christoph