Avoid potential negative array index access to cached text.
[LibreOffice.git] / setup_native / Library_sellangmsi.mk
blob962ebf7639c09307fd9ef8476b4bee0720f17d15
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,sellangmsi))
12 $(eval $(call gb_Library_use_custom_headers,sellangmsi,\
13 setup_native/spell \
16 $(eval $(call gb_Library_add_defs,sellangmsi,\
17 -U_DLL \
20 $(eval $(call gb_Library_add_cxxflags,sellangmsi,\
21 $(if $(MSVC_USE_DEBUG_RUNTIME),/MTd,/MT) \
22 $(if $(filter -fsanitize=%,$(CC)),,/fno-sanitize-address-vcasan-lib) \
25 $(eval $(call gb_Library_add_ldflags,sellangmsi,\
26 /DEF:$(SRCDIR)/setup_native/source/win32/customactions/sellang/sellang.def \
27 /NODEFAULTLIB \
30 $(eval $(call gb_Library_add_exception_objects,sellangmsi,\
31 setup_native/source/win32/customactions/sellang/sellang \
32 setup_native/source/win32/customactions/sellang/sorttree \
35 $(eval $(call gb_Library_use_system_win32_libs,sellangmsi,\
36 libcmt \
37 libcpmt \
38 libucrt \
39 libvcruntime \
40 msi \
41 kernel32 \
42 user32 \
43 advapi32 \
44 shell32 \
47 # vim: set noet sw=4 ts=4: