php: pdo mysql extension needs hash as well
authorPeter Korsgaard <peter@korsgaard.com>
Sun, 2 Sep 2018 07:57:35 +0000 (09:57 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 2 Sep 2018 13:28:34 +0000 (15:28 +0200)
Fixes:
http://autobuild.buildroot.net/results/69cf9326539c8df8fa50c5e7acb2ce3bb985ede2/

The PDO mysql extension also needs the hash extension - so select it,
similar to how it was done for the mysqli extension in commit 65f96452636
(php: fix build with mysqli).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/php/Config.ext

index 60ef1aee7c406f5e6ca68dddacf3dc42ccdf9865..51dcbbf4a40d0fa00a4d2733f1b29cbd832cccb0 100644 (file)
@@ -132,6 +132,7 @@ if BR2_PACKAGE_PHP_EXT_PDO
 
 config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
        bool "MySQL"
+       select BR2_PACKAGE_PHP_EXT_HASH
        help
          PDO driver for MySQL