zeek/auxil/vcpkg/ports/alsa/libdl.diff
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

13 lines
368 B
Diff

diff --git a/configure.ac b/configure.ac
index 7a152a4..324adf8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -261,6 +261,7 @@ HAVE_LIBDL=
if test "$have_libdl" = "yes"; then
AC_SEARCH_LIBS([dlsym], [dl], [HAVE_LIBDL="yes"])
if test "$HAVE_LIBDL" = "yes" ; then
+ ALSA_DEPLIBS="$ALSA_DEPLIBS -ldl"
AC_DEFINE([HAVE_LIBDL], 1, [Have libdl])
fi
else