From 864a4787b02a2db6edd656129c24168666d12bef Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Thu, 11 Jun 2009 19:55:28 +0000 Subject: Allow building beastpatcher with libmtp 0.2.[0-5]. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21249 a1c6a512-1295-4272-9138-f99709370657 --- utils/MTP/beastpatcher/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'utils/MTP/beastpatcher/Makefile') 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 CFLAGS += $(shell printf \ '\#include \nlibmtp version: LIBMTP_VERSION\n' | \ gcc -E -P - -o - | grep -q '^libmtp version: 0\.2' && echo '-DOLDMTP') +CFLAGS += $(shell printf \ + '\#include \nlibmtp version: LIBMTP_VERSION\n' | \ + gcc -E -P - -o - | grep -q '^libmtp version: 0\.2\.[0-5]' && echo '-DREALLYOLDMTP') endif WINLIBS = ../MTP_DLL.dll -- cgit v1.2.3