* configure.ac: Fix native-comp FreeBSD build.

This commit is contained in:
Andrea Corallo 2021-04-14 20:00:04 +02:00
parent 95dd6bb080
commit bfaa6df492

View file

@ -3826,7 +3826,7 @@ if test "${with_native_compilation}" != "no"; then
# mingw32 loads the library dynamically.
mingw32) ;;
# OpenBSD doesn't have libdl, all the functions are in libc
openbsd)
freebsd|openbsd)
LIBGCCJIT_LIB="-lgccjit" ;;
*)
LIBGCCJIT_LIB="-lgccjit -ldl" ;;