Skip to content

Commit

Permalink
Merge pull request #189 from guijan/port-obsd
Browse files Browse the repository at this point in the history
configure.ac: fix finding dlopen() on OpenBSD
  • Loading branch information
margnus1 committed Apr 8, 2024
2 parents 5805d77 + 1fea488 commit 5eaac92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -31,7 +31,7 @@ AX_LLVM(,[AC_MSG_FAILURE(LLVM is required.)])
AC_SUBST(LLVMVERSION)
CXXFLAGS="`echo " $CXXFLAGS " | sed 's/ -fno-rtti / /' | sed 's/ -fno-exceptions / /'` --std=c++14 $BOOST_CPPFLAGS"
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
AC_CHECK_LIB([dl], [dlopen],[],[AC_MSG_FAILURE([Could not find library libdl.])])
AC_SEARCH_LIBS([dlopen], [dl],[],[AC_MSG_FAILURE([Could not find library libdl.])])
ifdef([PKG_CHECK_MODULES],[
PKG_CHECK_MODULES([FFI], [libffi], [
AC_DEFINE([HAVE_LIBFFI], [1], [Define to 1 if we have libffi])
Expand Down

0 comments on commit 5eaac92

Please sign in to comment.