This is the mail archive of the
cygwin-apps@sources.redhat.com
mailing list for the Cygwin project.
libpng patch
- To: <cygwin-apps at sources dot redhat dot com>
- Subject: libpng patch
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Sat, 26 Aug 2000 08:14:10 +1000
Chuck
Don't know if this is really a good idea, but I did it to minimise the
changes in dependant apps...
as a general thought.. should we be making the ports as transparent as
possible? i.e. when there are dependancies doing alterations as below.. or
just document clearly and let the programmerse go research?
Rob
======
--- pngold.h Sat Aug 26 08:06:32 2000
+++ png.h Sat Aug 26 08:09:46 2000
@@ -274,6 +274,13 @@
#ifndef PNG_VERSION_INFO_ONLY
+/* DLL/static link must match between zlib and libpng and the main project
*/
+#ifdef PNG_STATIC
+ #ifndef ZLIB_STATIC
+ #define ZLIB_STATIC
+ #endif
+#endif
+
/* include the compression library's header */
#include "zlib.h"