termux-packages/packages/php/ext-pdo_mysql-config.m4.patch

14 lines
392 B
Diff
Raw Normal View History

2017-11-07 17:45:16 +01:00
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