slang: make install-static do install-pkgconfig
[buildroot-gz.git] / package / gutenprint / 0002-cups-support-replaces-static-with-static-libtool-lib.patch
blobd8cfb7d9d746b056ebb2523d44e35db63d47f07d
1 From 08a5d355160eb2ac8346ae1b94591418343217f9 Mon Sep 17 00:00:00 2001
2 From: Romain Naour <romain.naour@openwide.fr>
3 Date: Sun, 17 Aug 2014 23:43:20 +0200
4 Subject: [PATCH 1/1] cups support: replaces -static with -static-libtool-libs
6 gutenprint rely on the original behaviour of -static, but since commit
7 in buildroot "support/libtool: make -static behave like -all-static" [1],
8 the build of genppd is broken.
10 genppd need to be build statically otherwise the following warning appears:
11 ***WARNING: Use of --disable-static-genppd or --disable-static
12 when building CUPS is very dangerous. The build may
13 fail when building the PPD files, or may *SILENTLY*
14 build incorrect PPD files or cause other problems.
15 Please review the README and release notes carefully!
17 [1] http://git.buildroot.net/buildroot/commit/?id=97703978ac870ce2b14ad144f8e082de82aa2c64
19 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
20 ---
21 src/cups/Makefile.am | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
24 diff --git a/src/cups/Makefile.am b/src/cups/Makefile.am
25 index 1e27ae0..d711b70 100644
26 --- a/src/cups/Makefile.am
27 +++ b/src/cups/Makefile.am
28 @@ -84,7 +84,7 @@ noinst_SCRIPTS=test-rastertogutenprint
29 endif
31 if BUILD_GENPPD_STATIC
32 -STATIC_LDOPTS=-static -export-dynamic
33 +STATIC_LDOPTS=-static-libtool-libs -export-dynamic
34 endif
36 cups_calibrate_SOURCES = cups-calibrate.c
37 --
38 1.9.3