summaryrefslogtreecommitdiffstats
path: root/package/php
diff options
context:
space:
mode:
Diffstat (limited to 'package/php')
-rw-r--r--package/php/php.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/php/php.mk b/package/php/php.mk
index 6d5d0e8e1..195d4669e 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -111,13 +111,14 @@ ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE_UTF8),y)
endif
endif
ifeq ($(BR2_PACKAGE_PHP_EXT_PDO),y)
- PHP_CONFIGURE+=--with-pdo
ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_SQLITE),y)
PHP_CONFIGURE+=--with-pdo-sqlite
endif
ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_MYSQL),y)
- PHP_CONFIGURE+=--with-pod-mysql
+ PHP_CONFIGURE+=--with-pdo-mysql
endif
+else
+ PHP_CONFIGURE+=--without-pdo-sqlite
endif
$(DL_DIR)/$(PHP_SOURCE):