From 7127cba643e7b5e2abb7f8a875e2b74d4a89b7a2 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 19 Jul 2016 14:25:14 +0200 Subject: [PATCH] desktop: simplify $(ENABLE_BREAKPAD) checks Change-Id: Ibe2da6214b1f6555922313b22e2882a2ddb4b9e7 --- desktop/Library_sofficeapp.mk | 7 ++----- 1 file 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 \