mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
Make using libpng only be enabled when NETSURF_USE_HARU_PDF is YES.
svn path=/trunk/netsurf/; revision=4749
This commit is contained in:
parent
789ab037d1
commit
c74b00445f
4
Makefile
4
Makefile
@ -153,9 +153,9 @@ else
|
||||
LDFLAGS := $(shell $(PKG_CONFIG) --libs libxml-2.0 libcurl openssl)
|
||||
endif
|
||||
# Common libraries without pkgconfig support:
|
||||
LDFLAGS += -lz -lm -lmng -ljpeg -lpng
|
||||
LDFLAGS += -lz -lm -lmng -ljpeg
|
||||
ifeq ($(NETSURF_USE_HARU_PDF),YES)
|
||||
LDFLAGS += -lhpdf
|
||||
LDFLAGS += -lhpdf -lpng
|
||||
CFLAGS += -DWITH_PDF_EXPORT
|
||||
endif
|
||||
endif
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
# Use libharu to enable PDF export and GTK printing support. There is no
|
||||
# auto-detection available for this, as it does not have a pkg-config file.
|
||||
NETSURF_USE_HARU_PDF=YES
|
||||
NETSURF_USE_HARU_PDF=NO
|
||||
|
||||
# The following options are GTK-specific
|
||||
ifeq ($(TARGET),gtk)
|
||||
|
Loading…
Reference in New Issue
Block a user