summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2008-09-15 21:43:38 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2008-09-15 21:43:38 +0000
commit8247c76404076c4808be0c7a47d4e9c361dc5883 (patch)
tree5b34e44422bcbd5e3a2ddbd78ee7b7ad9d82c4f9
parent8afc2ba3bcd3ea8539a9e137ff947ecd2eb0dc8d (diff)
downloadnetsurf-8247c76404076c4808be0c7a47d4e9c361dc5883.tar.gz
netsurf-8247c76404076c4808be0c7a47d4e9c361dc5883.tar.bz2
Hopefully fix detection of libpng header path with pkg-config.
svn path=/trunk/netsurf/; revision=5335
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a837ac608..9650b60ab 100644
--- a/Makefile
+++ b/Makefile
@@ -270,6 +270,7 @@ ifeq ($(TARGET),riscos)
$(eval $(call pkg_config_find_and_add,HUBBUB,libhubbub,Hubbub HTML parser))
$(eval $(call pkg_config_find_and_add,BMP,libnsbmp,NetSurf BMP decoder))
$(eval $(call pkg_config_find_and_add,GIF,libnsgif,NetSurf GIF decoder))
+ $(eval $(call pkg_config_find_and_add,PNG,libpng,PNG library))
endif
endif
@@ -303,6 +304,7 @@ ifeq ($(TARGET),gtk)
$(eval $(call pkg_config_find_and_add,HUBBUB,libhubbub,Hubbub HTML parser))
$(eval $(call pkg_config_find_and_add,BMP,libnsbmp,NetSurf BMP decoder))
$(eval $(call pkg_config_find_and_add,GIF,libnsgif,NetSurf GIF decoder))
+ $(eval $(call pkg_config_find_and_add,PNG,libpng,PNG library))
GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \
-DGTK_DISABLE_DEPRECATED \