python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / fcgiwrap / 0001-use-LIBS-from-configure.patch
blob12563c42758bc0e4f5aff0ada7747e6e7a09e4f1
1 Makefile.in: Use LIBS from configure rather than specifying -lfcgi manually.
3 libfcgi needs libm and fcgiwrap does not use libtool or pkgconf to
4 detect libfcgi, so we need to add -lm explicitely when using static
5 libs. Buildroot does this by providing LIBS=-lm to configure when
6 needed. However fcgiwrap does not use Automake and its Makefile.in
7 ignores LIBS from configure. Fix it with this patch.
9 Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
11 diff -ur a/Makefile.in b/Makefile.in
12 --- a/Makefile.in 2013-02-03 14:25:17.000000000 +0100
13 +++ b/Makefile.in 2015-05-29 16:33:23.895280138 +0200
14 @@ -16,7 +16,7 @@
15 install -m 644 systemd/fcgiwrap.service $(DESTDIR)@systemdsystemunitdir@
16 endif
18 -LDLIBS = -lfcgi @systemd_LIBS@
19 +LDLIBS = @LIBS@ @systemd_LIBS@
20 CFLAGS = @AM_CFLAGS@
22 fcgiwrap: fcgiwrap.c