All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] php: add --enable-mysqlnd to configure options when using mysql extensions
@ 2016-09-07 15:48 Ryan Coe
  2016-09-07 21:55 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: Ryan Coe @ 2016-09-07 15:48 UTC (permalink / raw)
  To: buildroot

Without this configure option, mysqli was failing to build with my
config after commit ea1e9e03442a5b375aa2214ba92e48ebba89070a.  The build
did not fail, however, I was unable to use mysqli in my application.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
---
 package/php/php.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/php/php.mk b/package/php/php.mk
index deaf56e..766f3df 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -181,7 +181,7 @@ endif
 
 ### Native SQL extensions
 ifeq ($(BR2_PACKAGE_PHP_EXT_MYSQLI),y)
-PHP_CONF_OPTS += --with-mysqli
+PHP_CONF_OPTS += --enable-mysqlnd --with-mysqli=mysqlnd
 endif
 ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y)
 PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr
@@ -198,7 +198,7 @@ PHP_DEPENDENCIES += sqlite
 PHP_CFLAGS += -DSQLITE_OMIT_LOAD_EXTENSION
 endif
 ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_MYSQL),y)
-PHP_CONF_OPTS += --with-pdo-mysql
+PHP_CONF_OPTS += --enable-mysqlnd --with-pdo-mysql=mysqlnd
 endif
 ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL),y)
 PHP_CONF_OPTS += --with-pdo-pgsql=$(STAGING_DIR)/usr
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-08 16:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-07 15:48 [Buildroot] [PATCH 1/1] php: add --enable-mysqlnd to configure options when using mysql extensions Ryan Coe
2016-09-07 21:55 ` Thomas Petazzoni
2016-09-07 23:35   ` Floris Bos
2016-09-07 23:36     ` Ryan Coe
2016-09-08  0:06       ` Floris Bos
2016-09-08 15:47         ` Ryan Coe
2016-09-08 15:52           ` Thomas Petazzoni
2016-09-08 16:03           ` Floris Bos

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.