fixes for php makefile
authorJohn Voltz <john.voltz@gmail.com>
Tue, 11 Mar 2008 18:14:42 +0000 (18:14 -0000)
committerJohn Voltz <john.voltz@gmail.com>
Tue, 11 Mar 2008 18:14:42 +0000 (18:14 -0000)
package/php/php.mk

index 6d5d0e8e1af40451da93390cd33e585950d634ec..195d4669e777717b64948f39111189a31574ce6a 100644 (file)
@@ -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):