summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 52cc695..25da9ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,12 +28,10 @@ AC_LDADD=""
AC_LDFLAGS=""
case "$host_os" in
darwin*)
- AC_LDADD="-lusb-1.0"
;;
linux*)
- AC_LDADD="-lusb-1.0"
;;
- mingw32)
+ mingw*)
GLOBAL_CFLAGS+="-DWIN32 -D__LITTLE_ENDIAN__=1"
AC_LDFLAGS+="-static-libgcc"
AC_LDADD="-lsetupapi"