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)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 20 Jul 2023 18:02:54 +0000 (18:02 +0000)
Gbp-Pq: Name 0027-hack-phpdbg-to-explicitly-link-with-libedit.patch

sapi/phpdbg/config.m4

index ac95cf3c57f9153f438650b9ed6bd85966933c1f..8f4eb1a21d83f552ff74ece6d23d9fff7c368385 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])