office-gobmx/desktop/Library_crashreport.mk
Markus Mohrhard f4c68d3ad8 use a dynamic library for minidump shared code
This has the disadvantage to make the minidump_upload executable depend on LibreOffice libraries but there seems to be no other way to make the 7.1 SDK happy.

Change-Id: I82c37f503ed29cb50711eae7db22063f49747a48
Reviewed-on: https://gerrit.libreoffice.org/26055
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
(cherry picked from commit 3498cd3e7b)
Reviewed-on: https://gerrit.libreoffice.org/26915
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-07-05 11:02:50 +00:00

48 lines
1.1 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Library_Library,crashreport))
$(eval $(call gb_Library_set_include,crashreport,\
$$(INCLUDE) \
-I$(SRCDIR)/desktop/inc \
))
$(eval $(call gb_Library_use_externals,crashreport,\
breakpad \
curl \
))
$(eval $(call gb_Library_add_defs,crashreport,\
-DCRASHREPORT_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_add_libs,crashreport,\
$(if $(filter LINUX %BSD SOLARIS, $(OS)), \
$(DLOPEN_LIBS) \
-lpthread \
) \
))
$(eval $(call gb_Library_use_libraries,crashreport,\
comphelper \
cppu \
cppuhelper \
sal \
salhelper \
$(gb_UWINAPI) \
))
$(eval $(call gb_Library_add_exception_objects,crashreport,\
desktop/source/app/crashreport \
desktop/source/minidump/minidump \
))
# vim: set ts=4 sw=4 et: