termux-packages/packages/php/ext-pdo_mysql-config.m4.patch
2017-11-12 23:37:30 +01:00

14 lines
392 B
Diff

diff --git a/ext/pdo_mysql/config.m4 b/ext/pdo_mysql/config.m4
index c165fb6..2c42f3a 100755
--- a/ext/pdo_mysql/config.m4
+++ b/ext/pdo_mysql/config.m4
@@ -166,6 +166,8 @@ if test "$PHP_PDO_MYSQL" != "no"; then
])
PDO_MYSQL_MODULE_TYPE=external
+ PHP_ADD_LIBRARY(mariadb,, PDO_MYSQL_SHARED_LIBADD)
+
PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)
PHP_SUBST_OLD(PDO_MYSQL_MODULE_TYPE)
fi