libpng.pc.in: zlib dependency is private

zlib should be injected only when pkgconfig is ran with the --static
option.
This commit is contained in:
Cristian Rodríguez 2018-03-19 12:41:47 -03:00 committed by Cosmin Truta
parent 2f753e260c
commit dbe3e0c43e

View File

@ -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}