xref: /OK3568_Linux_fs/buildroot/package/libhid/0002-no-newline-in-ldflags.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Fix improper usage of macro that introduces a wrong newline
2
3The MD_CONF_FLAGS() macro was used with a final newline that
4introduces an invalid newline in the middle of the macro expansion
5when defining LDFLAGS.
6
7Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8
9Index: libhid-0.2.16/configure.ac
10===================================================================
11--- libhid-0.2.16.orig/configure.ac	2007-04-01 22:32:10.000000000 +0200
12+++ libhid-0.2.16/configure.ac	2012-12-12 20:24:03.000000000 +0100
13@@ -102,8 +102,7 @@
14   [],
15   [$OS_CFLAGS $LIBUSB_CFLAGS],
16   [],
17-  [$OS_LDFLAGS $LIBUSB_LIBS]
18-)
19+  [$OS_LDFLAGS $LIBUSB_LIBS])
20
21 MD_CONF_DB2MAN
22
23