php: readline needs dynamic library
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 1 May 2015 15:48:29 +0000 (12:48 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 1 May 2015 20:20:31 +0000 (22:20 +0200)
Fixes:
http://autobuild.buildroot.net/results/604/604995ecf88e97976cbb9e4257ce85df66934ff3/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/php/Config.ext

index e529409a05135ac8dc716e9160743f5f8852bb74..499509037eefe53f4fdf62c06207c7a2d5161437 100644 (file)
@@ -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