summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-07-19 14:25:14 +0200
committerMichael Stahl <mstahl@redhat.com>2016-07-19 14:25:40 +0200
commit7127cba643e7b5e2abb7f8a875e2b74d4a89b7a2 (patch)
treeb7ac7d0824d9435b18cd11bf111b49bc3ee38a12 /desktop
parent017f6fcf35e3e7087a08ea01f112c6dcdf34eac1 (diff)
desktop: simplify $(ENABLE_BREAKPAD) checks
Change-Id: Ibe2da6214b1f6555922313b22e2882a2ddb4b9e7
Diffstat (limited to 'desktop')
-rw-r--r--desktop/Library_sofficeapp.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/desktop/Library_sofficeapp.mk b/desktop/Library_sofficeapp.mk
index a5cf82b0de37..2a3f142cb5b7 100644
--- a/desktop/Library_sofficeapp.mk
+++ b/desktop/Library_sofficeapp.mk
@@ -24,15 +24,12 @@ $(eval $(call gb_Library_add_libs,sofficeapp,\
))
$(eval $(call gb_Library_use_externals,sofficeapp, \
+ $(if $(ENABLE_BREAKPAD),breakpad) \
$(if $(filter OPENCL,$(BUILD_TYPE)),clew) \
boost_headers \
dbus \
))
-ifeq ($(ENABLE_BREAKPAD),TRUE)
-$(eval $(call gb_Library_use_external,sofficeapp,breakpad))
-endif
-
$(eval $(call gb_Library_use_custom_headers,sofficeapp,\
officecfg/registry \
))
@@ -52,7 +49,7 @@ $(eval $(call gb_Library_use_libraries,sofficeapp,\
comphelper \
cppu \
cppuhelper \
- $(if $(filter TRUE,$(ENABLE_BREAKPAD)), \
+ $(if $(ENABLE_BREAKPAD), \
crashreport \
) \
deploymentmisc \