bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65123: 29.1; Build fails with "configure --without-all --with-tree-s


From: Eli Zaretskii
Subject: bug#65123: 29.1; Build fails with "configure --without-all --with-tree-sitter"
Date: Mon, 07 Aug 2023 15:42:55 +0300

> From: Ulrich Mueller <ulm@gentoo.org>
> Date: Mon, 07 Aug 2023 12:44:38 +0200
> 
> Forwarding downstream bug: https://bugs.gentoo.org/911826
> 
> Linking of temacs fails with undefined references to symbols
> dynlib_error, dynlib_open and dynlib_sym when using configure options
> --without-all --with-tree-sitter. To reproduce:

Thanks.  Does the patch below fix this?

diff --git a/configure.ac b/configure.ac
index 5dd182a..ab401be 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3254,6 +3254,7 @@ AC_DEFUN
     [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no])
   if test "${HAVE_TREE_SITTER}" = yes; then
     AC_DEFINE(HAVE_TREE_SITTER, 1, [Define if using tree-sitter.])
+    NEED_DYNLIB=yes
   else
     EMACS_CHECK_MODULES([TREE_SITTER], [tree-sitter >= 0.6.3],
       [HAVE_TREE_SITTER=yes], [HAVE_TREE_SITTER=no])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]