summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-04-16 23:36:00 +0100
committerPete Batard <pbatard@gmail.com>2010-04-16 23:36:00 +0100
commit3a4c4fc6c922bd5603781095913695d537c1f375 (patch)
treed13d9874d510ebd68f2ec4d6c6fe1b90dd9fc5d9 /configure.ac
parent3c06787b848a7dbc2db778f5dd1b2e8fdcf3d2eb (diff)
downloadlibusb-3a4c4fc6c922bd5603781095913695d537c1f375.tar.gz
MinGW/cygwin advapi32 library dependency (configure.ac)r256
Diffstat (limited to 'configure.ac')
-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)