summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/Library_vcl.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index e6abe34112e6..4aa52ab42b5b 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -211,9 +211,6 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/source/gdi/outmap \
vcl/source/gdi/pdfextoutdevdata \
vcl/source/gdi/pdffontcache \
- vcl/source/gdi/pdfwriter \
- vcl/source/gdi/pdfwriter_impl2 \
- vcl/source/gdi/pdfwriter_impl \
vcl/source/gdi/pngread \
vcl/source/gdi/pngwrite \
vcl/source/gdi/print2 \
@@ -287,6 +284,14 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
# optional parts
+ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
+$(eval $(call gb_Library_add_exception_objects,vcl,\
+ vcl/source/gdi/pdfwriter \
+ vcl/source/gdi/pdfwriter_impl2 \
+ vcl/source/gdi/pdfwriter_impl \
+))
+endif
+
## handle Graphite
ifneq ($(ENABLE_GRAPHITE),)
# add defines, graphite sources for all platforms