python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / cups / 0005-Fix-static-linking-with-GnuTLS.patch
blob5702caae9784187769687af82c4b41fbc706ea15
1 From 79a2389f590f4d16885bdd0715f3f04fd9fa6cc5 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
3 Date: Sun, 28 Feb 2016 16:35:56 +0100
4 Subject: [PATCH] Fix static linking with GnuTLS
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 cups forgets to link against the libs found by pkg-config if it is build with
10 GnuTLS support.
12 Otherwise, static build fails with:
13 ../cups/libcups.a(tls.o): In function `http_gnutls_create_credential':
14 cups-2.1.2/cups/tls-gnutls.c:762: undefined reference to `gnutls_x509_crt_init'
15 [..]
17 Status upstream: Pending
19 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
20 ---
21 Makedefs.in | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
24 diff --git a/Makedefs.in b/Makedefs.in
25 index 299b297..ce9d535 100644
26 --- a/Makedefs.in
27 +++ b/Makedefs.in
28 @@ -143,7 +143,7 @@ IPPFIND_MAN = @IPPFIND_MAN@
29 LDFLAGS = -L../cgi-bin -L../cups -L../filter -L../ppdc \
30 -L../scheduler @LDARCHFLAGS@ \
31 @LDFLAGS@ @RELROFLAGS@ $(OPTIM)
32 -LINKCUPS = @LINKCUPS@ $(LIBGSSAPI) $(DNSSDLIBS) $(LIBZ)
33 +LINKCUPS = @LINKCUPS@ $(SSLLIBS) $(LIBGSSAPI) $(DNSSDLIBS) $(LIBZ)
34 LINKCUPSIMAGE = @LINKCUPSIMAGE@
35 LIBS = $(LINKCUPS) $(COMMONLIBS)
36 ONDEMANDFLAGS = @ONDEMANDFLAGS@
37 --
38 2.7.4