1From 08a5d355160eb2ac8346ae1b94591418343217f9 Mon Sep 17 00:00:00 2001 2From: Romain Naour <romain.naour@openwide.fr> 3Date: Sun, 17 Aug 2014 23:43:20 +0200 4Subject: [PATCH 1/1] cups support: replaces -static with -static-libtool-libs 5 6gutenprint rely on the original behaviour of -static, but since commit 7in buildroot "support/libtool: make -static behave like -all-static" [1], 8the build of genppd is broken. 9 10genppd 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! 16 17[1] http://git.buildroot.net/buildroot/commit/?id=97703978ac870ce2b14ad144f8e082de82aa2c64 18 19Signed-off-by: Romain Naour <romain.naour@openwide.fr> 20--- 21 src/cups/Makefile.am | 2 +- 22 1 file changed, 1 insertion(+), 1 deletion(-) 23 24diff --git a/src/cups/Makefile.am b/src/cups/Makefile.am 25index 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 30 31 if BUILD_GENPPD_STATIC 32-STATIC_LDOPTS=-static -export-dynamic 33+STATIC_LDOPTS=-static-libtool-libs -export-dynamic 34 endif 35 36 cups_calibrate_SOURCES = cups-calibrate.c 37-- 381.9.3 39 40