summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2014-10-28 13:06:23 +0100
committerGravatar Martin Szulecki2014-10-28 13:06:23 +0100
commit861f45c04185fac6dbbd2dea76f9e217b39003ff (patch)
tree493ba47b4d1469feb4d9b5a5d36c7f24b4c9ed52
parent53c0a9a6975a57b45ef7502d2f537c868ac379f7 (diff)
downloadidevicerestore-861f45c04185fac6dbbd2dea76f9e217b39003ff.tar.gz
idevicerestore-861f45c04185fac6dbbd2dea76f9e217b39003ff.tar.bz2
Do not link with libusb manually as libirecovery dependency already adds it
-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"