diff options
author | Martin Szulecki | 2014-10-28 13:06:23 +0100 |
---|---|---|
committer | Martin Szulecki | 2014-10-28 13:06:23 +0100 |
commit | 861f45c04185fac6dbbd2dea76f9e217b39003ff (patch) | |
tree | 493ba47b4d1469feb4d9b5a5d36c7f24b4c9ed52 /configure.ac | |
parent | 53c0a9a6975a57b45ef7502d2f537c868ac379f7 (diff) | |
download | idevicerestore-861f45c04185fac6dbbd2dea76f9e217b39003ff.tar.gz idevicerestore-861f45c04185fac6dbbd2dea76f9e217b39003ff.tar.bz2 |
Do not link with libusb manually as libirecovery dependency already adds it
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
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" |