Files
odfstudio/RepositoryModule_build.mk
T
Tor Lillqvist 942afbd439 Fixes for Python cross-compilation, Linux to Linux at least
When not using a system Python, set PYTHON_FOR_BUILD to point to the
python script in the instdir_for_build/program folder. Make sure that
script gets installed by adding it to gb_BUILD_TOOLS_executables and
by adding pyuno to the cross_toolset modules. Make also the
SYSTEM_PYTHON boolean flag visible to the cross-build (in the normal
way, as SYSTEM_PYTHON_FOR_BUILD).

When cross-compiling Python to Linux, pass some ac_cv_* settings that
can't be determined at compile time.

Change-Id: I5224966698dca03df9545f5552671f0dce00b4ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197540
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Jenkins
2026-01-23 11:54:21 +01:00

102 lines
1.6 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_Module_Module,cross_toolset))
$(eval $(call gb_Module_add_moduledirs,cross_toolset,\
basegfx \
binaryurp \
bridges \
chart2 \
cli_ure \
codemaker \
comphelper \
cppu \
cppuhelper \
external \
i18nlangtag \
i18nutil \
i18npool \
instsetoo_native \
idl \
io \
javaunohelper \
jurt \
jvmaccess \
jvmfwk \
l10ntools \
net_ure \
o3tl \
offapi \
officecfg \
oovbaapi \
pch \
$(if $(filter PYTHON,$(BUILD_TYPE_FOR_HOST)),pyuno) \
registry \
remotebridges \
ridljar \
sal \
salhelper \
sax \
setup_native \
shell \
solenv \
soltools \
$(if $(filter EMSCRIPTEN,$(BUILD_TYPE_FOR_HOST)),static) \
stoc \
store \
tools \
ucbhelper \
udkapi \
unoidl \
unoil \
unotest \
unotools \
ure \
xmlreader \
$(if $(WITH_GALLERY_BUILD), \
avmedia \
basic \
canvas \
configmgr \
connectivity \
cppcanvas \
docmodel \
drawinglayer \
editeng \
emfio \
filter \
framework \
linguistic \
officecfg \
oox \
package \
postprocess \
sfx2 \
shell \
sot \
svgio \
svl \
svtools \
svx \
toolkit \
ucb \
unoxml \
uui \
vcl \
xmloff \
xmlscript \
) \
$(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helpcompiler) \
$(call gb_Helper_optional,XMLHELP,xmlhelp) \
$(call gb_Helper_optional,QADEVOOO,qadevOOo) \
))
# vim: set shiftwidth=4 tabstop=4 noexpandtab: