Avoid lambda being destroyed while it is being called.
[LibreOffice.git] / setup_native / StaticLibrary_seterror.mk
blob92297690419bb09fd452ce5ba9f9a0fa68912adb
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_StaticLibrary_StaticLibrary,seterror))
12 $(eval $(call gb_StaticLibrary_add_defs,seterror,\
13 -U_DLL \
16 $(eval $(call gb_StaticLibrary_add_cxxflags,seterror,\
17 $(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
20 $(eval $(call gb_StaticLibrary_add_exception_objects,seterror,\
21 setup_native/source/win32/customactions/tools/seterror \
24 # vim: set noet sw=4 ts=4: