diff options
Diffstat (limited to 'utils/MTP/beastpatcher/Makefile')
-rw-r--r-- | utils/MTP/beastpatcher/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/MTP/beastpatcher/Makefile b/utils/MTP/beastpatcher/Makefile index a40a2338f0..9c3ed571ee 100644 --- a/utils/MTP/beastpatcher/Makefile +++ b/utils/MTP/beastpatcher/Makefile | |||
@@ -19,6 +19,9 @@ LIBS = /usr/lib/libmtp.a /usr/lib/libusb.a | |||
19 | CFLAGS += $(shell printf \ | 19 | CFLAGS += $(shell printf \ |
20 | '\#include <libmtp.h>\nlibmtp version: LIBMTP_VERSION\n' | \ | 20 | '\#include <libmtp.h>\nlibmtp version: LIBMTP_VERSION\n' | \ |
21 | gcc -E -P - -o - | grep -q '^libmtp version: 0\.2' && echo '-DOLDMTP') | 21 | gcc -E -P - -o - | grep -q '^libmtp version: 0\.2' && echo '-DOLDMTP') |
22 | CFLAGS += $(shell printf \ | ||
23 | '\#include <libmtp.h>\nlibmtp version: LIBMTP_VERSION\n' | \ | ||
24 | gcc -E -P - -o - | grep -q '^libmtp version: 0\.2\.[0-5]' && echo '-DREALLYOLDMTP') | ||
22 | endif | 25 | endif |
23 | WINLIBS = ../MTP_DLL.dll | 26 | WINLIBS = ../MTP_DLL.dll |
24 | 27 | ||