Avoid lambda being destroyed while it is being called.
[LibreOffice.git] / odk / Library_unowinreg.mk
bloba514168cdca09bc1cbc332328d7b1b49787cd95a
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,unowinreg))
12 ifeq ($(COM),GCC)
13 $(eval $(call gb_Library_add_libs,unowinreg,\
14 -lstdc++ \
15 -lgcc_eh \
16 -lgcc \
17 -lmingw32 \
18 -lmoldname \
19 -lmsvcrt \
21 else
22 $(eval $(call gb_Library_add_ldflags,unowinreg,\
23 /MANIFEST:NO \
25 endif
27 $(eval $(call gb_Library_add_exception_objects,unowinreg,\
28 odk/source/unowinreg/win/unowinreg \
31 $(eval $(call gb_Library_use_system_win32_libs,unowinreg,\
32 kernel32 \
33 advapi32 \
36 # vim: set noet sw=4 ts=4: