diff --git a/configure.ac b/configure.ac index a47871fbd89..0e91a49488c 100644 --- a/configure.ac +++ b/configure.ac @@ -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" ;;