2010-12-15 Colin Leroy <colin@colino.net>
authorColin Leroy <colin@colino.net>
Wed, 15 Dec 2010 10:16:53 +0000 (10:16 +0000)
committerColin Leroy <colin@colino.net>
Wed, 15 Dec 2010 10:16:53 +0000 (10:16 +0000)
        * src/Makefile.am: Fix libpng building

ChangeLog
src/Makefile.am

index 564cbca..fab6e07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-15  Colin Leroy  <colin@colino.net>
+
+       * src/Makefile.am: Fix libpng building
+
 2010-12-14  Werner Koch  <wk@g10code.com>
 
        * patches/dirmngr-1.1.0/01-mmap.patch: New.
index f2d0814..555a428 100644 (file)
@@ -174,7 +174,7 @@ gpg4win_pkg_libgcrypt_configure = --silent \
 
 gpg4win_pkg_adns_configure = --silent
 
-gpg4win_pkg_libpng_configure = CPPFLAGS=\"-I$(idir)/include\" LDFLAGS=\"-L$(idir)/lib\"
+gpg4win_pkg_libpng_configure = CPPFLAGS=\"-I$(idir)/include -DPNG_BUILD_DLL\" LDFLAGS=\"-L$(idir)/lib\" LIBPNG_DEFINES=\"-DPNG_BUILD_DLL\"
 
 gpg4win_pkg_dirmngr_configure = \
   --with-gpg-error-prefix=$(idir) \