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>
Tue, 24 Dec 2024 06:20:41 +0000 (07:20 +0100)
Gbp-Pq: Name 0027-hack-phpdbg-to-explicitly-link-with-libedit.patch

sapi/phpdbg/config.m4

index 4bce37896d586fff97529a06f2fb2a560dfe6e15..c1fb29c60ced7d5a2bccec85b193f4c5a0e24eae 100644 (file)
@@ -36,7 +36,9 @@ if test "$BUILD_PHPDBG" = "" && test "$PHP_PHPDBG" != "no"; then
   if test "$PHP_PHPDBG_READLINE" = "yes"; then
     if test "$PHP_READLINE" != "no" -o  "$PHP_LIBEDIT" != "no"; then
          AC_DEFINE(HAVE_PHPDBG_READLINE, 1, [ ])
-         PHPDBG_EXTRA_LIBS="$PHP_READLINE_LIBS"
+#        PHPDBG_EXTRA_LIBS="$PHP_READLINE_LIBS"
+# Temporary hack until this gets fixed
+         PHPDBG_EXTRA_LIBS="-ledit -ltermcap"
          AC_MSG_RESULT([ok])
        else
          AC_MSG_RESULT([readline is not available])