package/php: fix gd extension dependencies and options
authorLouis Aussedat <aussedat.louis@gmail.com>
Sat, 18 Apr 2020 09:03:43 +0000 (11:03 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 18 Apr 2020 13:25:23 +0000 (15:25 +0200)
commit31c5fd8f4b1ee26881ac37e55b0967bed0c6ebd2
tree12246b374548f70ff9612f6b63de82ec4f88ba83
parentac2b371732b20bacce9c79b7f3b824bd68b94242
package/php: fix gd extension dependencies and options

Due to migration to pkg-config in php 7.4, the detection of
library dependencies has been changed.

source from php.net:
--with-gd becomes --enable-gd
--with-png-dir has been removed. libpng is required.
--with-zlib-dir has been removed. zlib is required.
--with-freetype-dir becomes --with-freetype
--with-jpeg-dir becomes --with-jpeg

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/php/Config.ext
package/php/php.mk