You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
705 B

  1. From dbe3e0c43e549a1602286144d94b0666549b18e6 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodriguez@opensuse.org>
  3. Date: Mon, 19 Mar 2018 12:41:47 -0300
  4. Subject: [PATCH] libpng.pc.in: zlib dependency is private
  5. zlib should be injected only when pkgconfig is ran with the --static
  6. option.
  7. ---
  8. libpng.pc.in | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. --- a/libpng.pc.in
  11. +++ b/libpng.pc.in
  12. @@ -6,7 +6,7 @@ includedir=@includedir@/libpng@PNGLIB_MA
  13. Name: libpng
  14. Description: Loads and saves PNG files
  15. Version: @PNGLIB_VERSION@
  16. -Requires: zlib
  17. +Requires.private: zlib
  18. Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
  19. Libs.private: @LIBS@
  20. Cflags: -I${includedir}