1*4882a593SmuzhiyunFrom 08a5d355160eb2ac8346ae1b94591418343217f9 Mon Sep 17 00:00:00 2001 2*4882a593SmuzhiyunFrom: Romain Naour <romain.naour@openwide.fr> 3*4882a593SmuzhiyunDate: Sun, 17 Aug 2014 23:43:20 +0200 4*4882a593SmuzhiyunSubject: [PATCH 1/1] cups support: replaces -static with -static-libtool-libs 5*4882a593Smuzhiyun 6*4882a593Smuzhiyungutenprint rely on the original behaviour of -static, but since commit 7*4882a593Smuzhiyunin buildroot "support/libtool: make -static behave like -all-static" [1], 8*4882a593Smuzhiyunthe build of genppd is broken. 9*4882a593Smuzhiyun 10*4882a593Smuzhiyungenppd need to be build statically otherwise the following warning appears: 11*4882a593Smuzhiyun***WARNING: Use of --disable-static-genppd or --disable-static 12*4882a593Smuzhiyun when building CUPS is very dangerous. The build may 13*4882a593Smuzhiyun fail when building the PPD files, or may *SILENTLY* 14*4882a593Smuzhiyun build incorrect PPD files or cause other problems. 15*4882a593Smuzhiyun Please review the README and release notes carefully! 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun[1] http://git.buildroot.net/buildroot/commit/?id=97703978ac870ce2b14ad144f8e082de82aa2c64 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunSigned-off-by: Romain Naour <romain.naour@openwide.fr> 20*4882a593Smuzhiyun--- 21*4882a593Smuzhiyun src/cups/Makefile.am | 2 +- 22*4882a593Smuzhiyun 1 file changed, 1 insertion(+), 1 deletion(-) 23*4882a593Smuzhiyun 24*4882a593Smuzhiyundiff --git a/src/cups/Makefile.am b/src/cups/Makefile.am 25*4882a593Smuzhiyunindex 1e27ae0..d711b70 100644 26*4882a593Smuzhiyun--- a/src/cups/Makefile.am 27*4882a593Smuzhiyun+++ b/src/cups/Makefile.am 28*4882a593Smuzhiyun@@ -84,7 +84,7 @@ noinst_SCRIPTS=test-rastertogutenprint 29*4882a593Smuzhiyun endif 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun if BUILD_GENPPD_STATIC 32*4882a593Smuzhiyun-STATIC_LDOPTS=-static -export-dynamic 33*4882a593Smuzhiyun+STATIC_LDOPTS=-static-libtool-libs -export-dynamic 34*4882a593Smuzhiyun endif 35*4882a593Smuzhiyun 36*4882a593Smuzhiyun cups_calibrate_SOURCES = cups-calibrate.c 37*4882a593Smuzhiyun-- 38*4882a593Smuzhiyun1.9.3 39*4882a593Smuzhiyun 40