summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--RepositoryExternal.mk5
-rw-r--r--solenv/gbuild/TargetLocations.mk1
2 files changed, 5 insertions, 1 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index ba57b556411c..583ef0b95d23 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -2521,7 +2521,10 @@ define gb_ExternalExecutable__register_python
$(call gb_ExternalExecutable_set_internal,python)
$(call gb_ExternalExecutable_set_precommand,python,$(gb_PYTHON_PRECOMMAND))
$(call gb_ExternalExecutable_add_dependencies,python,\
- $(call gb_Package_get_target,python3) \
+ $(if $(filter MACOSX,$(OS)) \
+ ,$(call gb_Zip_get_outdir_target_for_build,LibreOfficePython.framework) \
+ ,$(call gb_Package_get_target_for_build,python3) \
+ ) \
)
endef
diff --git a/solenv/gbuild/TargetLocations.mk b/solenv/gbuild/TargetLocations.mk
index 09966d20b4b0..d9213ec7dc91 100644
--- a/solenv/gbuild/TargetLocations.mk
+++ b/solenv/gbuild/TargetLocations.mk
@@ -60,6 +60,7 @@ gb_UnoApiMerge_get_target = $(OUTDIR)/bin/$(1).rdb
gb_UnoApiMerge_get_target_for_build = $(OUTDIR_FOR_BUILD)/bin/$(1).rdb
gb_Jar_get_outdir_target = $(OUTDIR)/bin/$(1).jar
gb_Zip_get_outdir_target = $(OUTDIR)/pck/$(1).zip
+gb_Zip_get_outdir_target_for_build = $(OUTDIR_FOR_BUILD)/pck/$(1).zip
# outdir targets: $(1) is path
gb_Configuration_registry = $(OUTDIR)/xml/registry
gb_XcsTarget_get_outdir_target = \