Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing zlib dependency #167

Closed
pneerincx opened this issue Jul 3, 2017 · 2 comments
Closed

Missing zlib dependency #167

pneerincx opened this issue Jul 3, 2017 · 2 comments

Comments

@pneerincx
Copy link

Adding "Requires: zlib" to libpng.pc.in like in the patch below solved compilation issues...

diff -ru libpng-1.6.29.original/libpng.pc.in libpng-1.6.29.patched/libpng.pc.in
--- libpng-1.6.29.original/libpng.pc.in 2017-03-16 13:21:02.000000000 +0100
+++ libpng-1.6.29.patched/libpng.pc.in 2017-06-29 11:04:17.000000000 +0200
@@ -6,6 +6,7 @@
Name: libpng
Description: Loads and saves PNG files
Version: @PNGLIB_VERSION@
+Requires: zlib
Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@
Libs.private: @libs@
Cflags: -I${includedir}

@glennrp
Copy link
Contributor

glennrp commented Jul 3, 2017

Thanks. I pushed your change to the libpng16 branch: commit 89b8c13
It will appear in the next beta release which will be libpng-1.6.31beta01.

@pneerincx
Copy link
Author

Thanks; looking forward to 1.6.31!

@glennrp glennrp closed this as completed Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants