summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2018-03-19 12:41:47 -0300
committerCosmin Truta <ctruta@gmail.com>2020-05-24 23:28:35 -0400
commitdbe3e0c43e549a1602286144d94b0666549b18e6 (patch)
treeaeaa616bc99679c86918bc9fa8b15672835a7401
parent2f753e260c5e4106654afb4b09d70b7e0109d05e (diff)
downloadlibpng-dbe3e0c43e549a1602286144d94b0666549b18e6.tar.gz
libpng.pc.in: zlib dependency is private
zlib should be injected only when pkgconfig is ran with the --static option.
-rw-r--r--libpng.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpng.pc.in b/libpng.pc.in
index 9708e9af2..de127d4f8 100644
--- a/libpng.pc.in
+++ b/libpng.pc.in
@@ -6,7 +6,7 @@ includedir=@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
Name: libpng
Description: Loads and saves PNG files
Version: @PNGLIB_VERSION@
-Requires: zlib
+Requires.private: zlib
Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
Libs.private: @LIBS@
Cflags: -I${includedir}