summaryrefslogtreecommitdiff
path: root/vcl/Library_vcl.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-06-13 06:10:27 +0200
committerDavid Tardon <dtardon@redhat.com>2012-06-13 06:17:41 +0200
commit204ece187916bd891273b38892d6ba74ae2cfad6 (patch)
treeaa8b5bd2fa7960ff5f932059588d6d233ac93ec5 /vcl/Library_vcl.mk
parent02d9bd3b14575442a6532915cdb18bb4a69ad35f (diff)
make sure basebmp headers are in place
Change-Id: I8ffa38550f8253ab22f16aa2a1ce392e656c1bd1
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) \
))