summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 1466d57..98eb6c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -42,7 +42,7 @@ case $host in
AC_MSG_RESULT([Windows])
backend="windows"
threads="windows"
- LIBS="-lsetupapi -lole32"
+ LIBS="-lsetupapi -lole32 -ladvapi32"
AM_CFLAGS="-Wshadow"
AM_LDFLAGS="-no-undefined -avoid-version"
AC_CHECK_TOOL(RC, windres, no)
@@ -54,7 +54,7 @@ case $host in
backend="windows"
AC_DEFINE([POSIX_THREADS], [], [Posix Threads])
threads="posix"
- LIBS="-lpthread -lsetupapi -lole32"
+ LIBS="-lpthread -lsetupapi -lole32 -ladvapi32"
AM_CFLAGS=""
AM_LDFLAGS="-no-undefined -avoid-version"
AC_CHECK_TOOL(RC, windres, no)