fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / libxml2 / ExternalPackage_xml2.mk
blob3694937d552403c3c8c8a34e4e070e78abf573b7
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_ExternalPackage_ExternalPackage,xml2,xml2))
12 $(eval $(call gb_ExternalPackage_use_external_project,xml2,xml2))
14 ifneq ($(DISABLE_DYNLOADING),TRUE)
15 ifeq ($(OS),MACOSX)
16 $(eval $(call gb_ExternalPackage_add_file,xml2,$(LIBO_URE_LIB_FOLDER)/libxml2.2.dylib,.libs/libxml2.2.dylib))
17 else ifeq ($(OS),WNT)
18 ifeq ($(COM),GCC)
19 $(eval $(call gb_ExternalPackage_add_file,xml2,$(LIBO_URE_LIB_FOLDER)/libxml2.dll,.libs/libxml2.dll))
20 else # COM=MSC
21 $(eval $(call gb_ExternalPackage_add_file,xml2,$(LIBO_URE_LIB_FOLDER)/libxml2.dll,win32/bin.msvc/libxml2.dll))
22 endif
23 else # OS!=WNT
24 $(eval $(call gb_ExternalPackage_add_file,xml2,$(LIBO_URE_LIB_FOLDER)/libxml2.so.2,.libs/libxml2.so.2.9.3))
25 endif
26 endif # DISABLE_DYNLOADING
28 # vim: set noet sw=4 ts=4: