summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2008-09-15 20:23:02 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2008-09-15 20:23:02 +0000
commitd3270ed648c971b5708c84188e6d7ce184801468 (patch)
tree6ca2aa5596c1e405d2e1859bdc5e14524d5a89d9 /Makefile
parent5c9f7937f5b4779e903eb39385907f3f793a723e (diff)
downloadnetsurf-d3270ed648c971b5708c84188e6d7ce184801468.tar.gz
netsurf-d3270ed648c971b5708c84188e6d7ce184801468.tar.bz2
Add libpng support. Default to off.
svn path=/trunk/netsurf/; revision=5330
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9fa301eed..a837ac608 100644
--- a/Makefile
+++ b/Makefile
@@ -230,7 +230,8 @@ define pkg_config_find_and_add
endef
$(eval $(call feature_enabled,JPEG,-DWITH_JPEG,-ljpeg,JPEG support))
-$(eval $(call feature_enabled,MNG,-DWITH_MNG,-lmng,PNG support))
+$(eval $(call feature_enabled,MNG,-DWITH_MNG,-lmng,MNG support))
+$(eval $(call feature_enabled,PNG,-DWITH_PNG,-lpng,PNG support))
$(eval $(call feature_enabled,HARU_PDF,-DWITH_PDF_EXPORT,-lhpdf -lpng,PDF export))
$(eval $(call feature_enabled,LIBICONV_PLUG,-DLIBICONV_PLUG,,glibc internal iconv))