Created attachment 6656 [details] Fix compatibilty with libpng14
Created attachment 6657 [details] Only link jbig2dec against libpng
Created attachment 6658 [details] Fix shared library linkage on PE platforms
* for libpng, use PKG_CONFIG_PATH, it's easier and gives you always the correct link flags * for the DLL, I have filed a bug before reading that bug report. However, that patch is not complete (see #691784)
(In reply to comment #3) > * for the DLL, I have filed a bug before reading that bug report. However, > that patch is not complete (see #691784) My patch is sufficient for Cygwin, which does not require AC_LIBTOOL_WIN32_DLL. I cannot say with certainty for other PE platforms.
Well, it was not obvious that you were patching only for cygwin, according to the subject of the bug report :-) For MinGW, it's necessary (see libtool manual). I didn't know that cygwin does not need it.
The first patch I had either done myself or from another bug report, but the other two have been committed: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=19dc7b85 Thanks!