mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-28 23:09:43 +03:00
Hopefully fix detection of libpng header path with pkg-config.
svn path=/trunk/netsurf/; revision=5335
This commit is contained in:
parent
8afc2ba3bc
commit
8247c76404
2
Makefile
2
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,HUBBUB,libhubbub,Hubbub HTML parser))
|
||||||
$(eval $(call pkg_config_find_and_add,BMP,libnsbmp,NetSurf BMP decoder))
|
$(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,GIF,libnsgif,NetSurf GIF decoder))
|
||||||
|
$(eval $(call pkg_config_find_and_add,PNG,libpng,PNG library))
|
||||||
endif
|
endif
|
||||||
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,HUBBUB,libhubbub,Hubbub HTML parser))
|
||||||
$(eval $(call pkg_config_find_and_add,BMP,libnsbmp,NetSurf BMP decoder))
|
$(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,GIF,libnsgif,NetSurf GIF decoder))
|
||||||
|
$(eval $(call pkg_config_find_and_add,PNG,libpng,PNG library))
|
||||||
|
|
||||||
GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \
|
GTKCFLAGS := -std=c99 -Dgtk -Dnsgtk \
|
||||||
-DGTK_DISABLE_DEPRECATED \
|
-DGTK_DISABLE_DEPRECATED \
|
||||||
|
Loading…
Reference in New Issue
Block a user