diff --git a/network/asterisk/asterisk.conf b/network/asterisk/asterisk.conf index 2ac01eaf6..c08b7a22f 100644 --- a/network/asterisk/asterisk.conf +++ b/network/asterisk/asterisk.conf @@ -38,3 +38,8 @@ var_append makeinstopt " " "samples" if pkginstalled -f postgresql; then var_append extraconfopt ' ' "--with-postgres=$( pkgprefix -r postgresql )" fi + +# mysql support +if pkginstalled -f mysql; then + var_append extraconfopt ' ' "--with-mysqlclient=$( pkgprefix -r mysql )" +fi