summaryrefslogtreecommitdiff
path: root/vcl/Library_vcl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/Library_vcl.mk')
-rw-r--r--vcl/Library_vcl.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
index a07383c451fe..69c1faa94a1b 100644
--- a/vcl/Library_vcl.mk
+++ b/vcl/Library_vcl.mk
@@ -319,12 +319,15 @@ endif
# GUIBASE specific stuff
-ifeq ($(GUIBASE),aqua)
-# headers from basebmp are included but the library is not used ?
+ifneq ($(filter headless android,$(GUIBASE)),)
+# even in the case we do not link with basebmp, we still need the headers
+# for some typedefs or enums
$(eval $(call gb_Library_use_packages,vcl,\
basebmp_inc \
))
+endif
+ifeq ($(GUIBASE),aqua)
$(eval $(call gb_Library_add_cxxflags,vcl,\
$(gb_OBJCXXFLAGS) \
))