From: Po Lu Date: Wed, 6 Sep 2023 03:19:32 +0000 (+0800) Subject: Fix libgccjit build on Haiku X-Git-Tag: emacs-29.1.90~137 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4ec4b18c2a064a8a747fd381765b26cdf1b077f5;p=emacs.git Fix libgccjit build on Haiku * configure.ac (LIBGCCJIT_LIBS): Link only with -lgccjit under Haiku. --- diff --git a/configure.ac b/configure.ac index ab401be1c1d..a4986c7a43c 100644 --- a/configure.ac +++ b/configure.ac @@ -4385,8 +4385,9 @@ if test "${with_native_compilation}" != "no"; then case "${opsys}" in # mingw32 loads the library dynamically. mingw32) ;; - # OpenBSD doesn't have libdl, all the functions are in libc - netbsd|openbsd) + # Neither NetBSD, OpenBSD nor Haiku have libdl, with all dynamic + # linker functions placed within libc. + netbsd|openbsd|haiku) LIBGCCJIT_LIBS="-lgccjit" ;; darwin) LIBGCCJIT_CFLAGS="${MAC_CFLAGS}"