vcpkg/ports/alsa/libdl.diff

13 lines
368 B
Diff
Raw Normal View History

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