The binaries are already dependent on sqlite3 and pthread, not only the
corresponding php modules.

This closes #7724.

Signed-off-by: Michael Heimpold <m...@heimpold.de>
---
 lang/php5/Makefile |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lang/php5/Makefile b/lang/php5/Makefile
index be3bb3d..de6795a 100644
--- a/lang/php5/Makefile
+++ b/lang/php5/Makefile
@@ -53,6 +53,9 @@ define Package/php5
   ifneq ($(CONFIG_PHP5_LIBXML),)
     DEPENDS+= +libxml2
   endif
+  ifneq 
($(CONFIG_PACKAGE_php5-mod-sqlite3)$(CONFIG_PACKAGE_php5-mod-pdo-sqlite),)
+    DEPENDS+= +libsqlite3 +libpthread
+  endif
 endef
 
 define Package/php5/description
-- 
1.5.4.3

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to