Arnold Daniels in php.pecl.dev (Thu, 11 Jul 2019 07:34:09 +0000):
>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?

Take a look at https://github.com/m6w6/ext-http/blob/master/config.w32
I adds either ..\[other ext]\ or ..\..\pecl\[other ext]\ to the include
dirs, relying on the convention that the sources of the dependency are
in a sibling dir or in a pecl directory (as sibling to the ext dir of
the php sources).

redis looks only in a sibling dir for igbinary.h:
https://github.com/phpredis/phpredis/blob/develop/config.w32#L16
-- 
Jan

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to