Related tdf#122788: avoid assert
[LibreOffice.git] / desktop / Library_crashreport.mk
blob3b9d6dd34fdcb7e8fdbd4cfb4b56eec96ad634d2
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_Library_Library,crashreport))
12 $(eval $(call gb_Library_set_include,crashreport,\
13 $$(INCLUDE) \
14 -I$(SRCDIR)/desktop/inc \
17 $(eval $(call gb_Library_use_externals,crashreport,\
18 breakpad \
19 curl \
22 $(eval $(call gb_Library_add_defs,crashreport,\
23 -DCRASHREPORT_DLLIMPLEMENTATION \
26 $(eval $(call gb_Library_add_libs,crashreport,\
27 $(if $(filter LINUX %BSD SOLARIS, $(OS)), \
28 $(DLOPEN_LIBS) \
29 -lpthread \
30 ) \
33 $(eval $(call gb_Library_use_sdk_api,crashreport))
35 $(eval $(call gb_Library_use_libraries,crashreport,\
36 comphelper \
37 cppu \
38 cppuhelper \
39 sal \
40 salhelper \
41 ucbhelper \
42 utl \
45 $(eval $(call gb_Library_add_exception_objects,crashreport,\
46 desktop/source/app/crashreport \
47 desktop/source/minidump/minidump \
51 # vim: set ts=4 sw=4 et: