hack-phpdbg-to-explicitly-link-with-libedit
authorDebian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
Sat, 2 May 2015 08:26:57 +0000 (10:26 +0200)
committerOndřej Surý <ondrej@debian.org>
Sun, 3 Aug 2025 07:32:21 +0000 (09:32 +0200)
Gbp-Pq: Name 0026-hack-phpdbg-to-explicitly-link-with-libedit.patch

sapi/phpdbg/config.m4

index 55f8fa3a8aa02f76f98b214a543bd0149377d0aa..612ed26a82277470692d8598a63f76fdc90ac6ea 100644 (file)
@@ -32,7 +32,7 @@ if test "$PHP_PHPDBG" != "no"; then
     if test "$PHP_READLINE" != "no" || test "$PHP_LIBEDIT" != "no"; then
       AC_DEFINE([HAVE_PHPDBG_READLINE], [1],
         [Define to 1 if the phpdbg SAPI has libedit/readline integration.])
-      PHPDBG_EXTRA_LIBS="$PHP_READLINE_LIBS"
+      PHPDBG_EXTRA_LIBS="-ledit -ltermcap"
       AC_MSG_RESULT([ok])
     else
       AC_MSG_RESULT([readline is not available])