[Buildroot] [PATCH 1/1] package/php: Add -lpthread to detect sqlite for static build
Bernd Kuhls
bernd.kuhls at t-online.de
Sat May 30 21:03:07 UTC 2015
Fixes
http://autobuild.buildroot.net/results/e69/e6993d66aeebbe994063a60871412b2235ce5455/
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
package/php/php.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/php/php.mk b/package/php/php.mk
index 8e79c49..191c48c 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -204,6 +204,9 @@ endif
ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y)
PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr
PHP_DEPENDENCIES += sqlite
+ifeq ($(BR2_STATIC_LIBS),y)
+PHP_CONF_ENV += LIBS='-lpthread'
+endif
endif
### PDO
--
1.7.10.4
More information about the buildroot
mailing list