You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since PHP *nix Autotools build system already extensively relies on
pkgconf (pkg-config) command-line tool to find dependencies it should
also provide its own .pc metadata file(s). [1]
This adds an initial php.pc.in and php-embed.pc.in templates that are
created during the configuration and build phase. They are installed in
the provided system pkgconfig directory. For example:
/usr/lib/pkgconfig/php.pc
/usr/lib/pkgconfig/php-embed.pc
/usr/lib/pkgconfig/php-embed8.pc
/usr/lib/pkgconfig/php-embed8.4.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/php.pc
Pkgconf [2] is a more actively maintained continuation of the initial
Freedesktop's pkg-config project [3].
Extensions and applications embedding the PHP Embed SAPI can then
optionally use also the pkgconf utility to get the required PHP CFLAGS
and/or LIBS.
Extensions can use:
pkgconf --cflags php
pkgconf --libs php
pkgconf --modversion php
pkgconf --cflags php8.4
Applications embedding the PHP Embed SAPI:
pkgconf --libs php-embed
pkgconf --cflags php-embed
pkgconf --modversion php-embed
pkgconf --cflags php-embed8.4
[1]: https://people.freedesktop.org/~dbn/pkg-config-guide.html
[2]: https://github.com/pkgconf/pkgconf
[3]: https://gitlab.freedesktop.org/pkg-config/pkg-config
0 commit comments