0002-cups-support-replaces-static-with-static-libtool-lib.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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
  5. gutenprint rely on the original behaviour of -static, but since commit
  6. in buildroot "support/libtool: make -static behave like -all-static" [1],
  7. the build of genppd is broken.
  8. genppd need to be build statically otherwise the following warning appears:
  9. ***WARNING: Use of --disable-static-genppd or --disable-static
  10. when building CUPS is very dangerous. The build may
  11. fail when building the PPD files, or may *SILENTLY*
  12. build incorrect PPD files or cause other problems.
  13. Please review the README and release notes carefully!
  14. [1] http://git.buildroot.net/buildroot/commit/?id=97703978ac870ce2b14ad144f8e082de82aa2c64
  15. Signed-off-by: Romain Naour <romain.naour@openwide.fr>
  16. ---
  17. src/cups/Makefile.am | 2 +-
  18. 1 file changed, 1 insertion(+), 1 deletion(-)
  19. diff --git a/src/cups/Makefile.am b/src/cups/Makefile.am
  20. index 1e27ae0..d711b70 100644
  21. --- a/src/cups/Makefile.am
  22. +++ b/src/cups/Makefile.am
  23. @@ -84,7 +84,7 @@ noinst_SCRIPTS=test-rastertogutenprint
  24. endif
  25. if BUILD_GENPPD_STATIC
  26. -STATIC_LDOPTS=-static -export-dynamic
  27. +STATIC_LDOPTS=-static-libtool-libs -export-dynamic
  28. endif
  29. cups_calibrate_SOURCES = cups-calibrate.c
  30. --
  31. 1.9.3