98450e64e1
Instead of bothering to pass in -lxml and -lm so that the test and/or util executables get built, just patch out building them when cross-compiling. Change-Id: Ida38dcdc56675eca6ff9d549ce62b15da8e82f13
28 lines
1.1 KiB
Makefile
28 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_UnpackedTarball_UnpackedTarball,rasqal))
|
|
|
|
$(eval $(call gb_UnpackedTarball_set_tarball,rasqal,$(RASQAL_TARBALL)))
|
|
|
|
# configure generated files for MSVC
|
|
$(eval $(call gb_UnpackedTarball_add_file,rasqal,src/rasqal.h,redland/rasqal/rasqal.h))
|
|
|
|
$(eval $(call gb_UnpackedTarball_add_patches,rasqal,\
|
|
redland/rasqal/rasqal-pkgconfig.patch.1 \
|
|
redland/rasqal/rasqal-freebsd.patch.1 \
|
|
redland/rasqal/rasqal-msvc.patch.1 \
|
|
redland/rasqal/rasqal-aix.patch.1 \
|
|
$(if $(filter-out WNT,$(OS)),redland/rasqal/rasqal-bundled-soname.patch.1) \
|
|
$(if $(filter ANDROID,$(OS)),redland/rasqal/rasqal-android.patch.1) \
|
|
$(if $(filter WNTGCC,$(OS)$(COM)),redland/rasqal/rasqal-mingw.patch.1) \
|
|
$(if $(filter YES,$(CROSS_COMPILING)),redland/rasqal/rasqal-xcompile.patch.1) \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|