summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/php/Config.ext4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/php/Config.ext b/package/php/Config.ext
index e529409a05..499509037e 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -15,8 +15,12 @@ config BR2_PACKAGE_PHP_EXT_OPCACHE
help
Enable the Zend OPcache accelerator.
+comment "Readline needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
+
config BR2_PACKAGE_PHP_EXT_READLINE
bool "Readline"
+ depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_NCURSES
select BR2_PACKAGE_READLINE
help
OpenPOWER on IntegriCloud