diff options
| author | Po Lu | 2023-09-06 11:19:32 +0800 |
|---|---|---|
| committer | Po Lu | 2023-09-06 11:19:38 +0800 |
| commit | 4ec4b18c2a064a8a747fd381765b26cdf1b077f5 (patch) | |
| tree | 400513e29e0c256f1bbcf5d019ce204b930c1e37 | |
| parent | 80bdcf8f351f35f1eb73a016f7e58188be0425d4 (diff) | |
| download | emacs-4ec4b18c2a064a8a747fd381765b26cdf1b077f5.tar.gz emacs-4ec4b18c2a064a8a747fd381765b26cdf1b077f5.zip | |
Fix libgccjit build on Haiku
* configure.ac (LIBGCCJIT_LIBS): Link only with -lgccjit under
Haiku.
| -rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
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 | |||
| 4385 | case "${opsys}" in | 4385 | case "${opsys}" in |
| 4386 | # mingw32 loads the library dynamically. | 4386 | # mingw32 loads the library dynamically. |
| 4387 | mingw32) ;; | 4387 | mingw32) ;; |
| 4388 | # OpenBSD doesn't have libdl, all the functions are in libc | 4388 | # Neither NetBSD, OpenBSD nor Haiku have libdl, with all dynamic |
| 4389 | netbsd|openbsd) | 4389 | # linker functions placed within libc. |
| 4390 | netbsd|openbsd|haiku) | ||
| 4390 | LIBGCCJIT_LIBS="-lgccjit" ;; | 4391 | LIBGCCJIT_LIBS="-lgccjit" ;; |
| 4391 | darwin) | 4392 | darwin) |
| 4392 | LIBGCCJIT_CFLAGS="${MAC_CFLAGS}" | 4393 | LIBGCCJIT_CFLAGS="${MAC_CFLAGS}" |