Kaydet (Commit) ae993b04 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add where pyuno.so is to PYPATH for the "Mac-like app structure" case

In that case, the .py files are in Resources while pyuno.so is in
Frameworks. Or maybe I should put pyuno.so in Resources. too.

Change-Id: Iec453c378defdc45d6d3ba6bd17b2a86de669d29
üst 2fac4575
...@@ -56,7 +56,7 @@ $(call gb_PythonTest_get_target,%) : ...@@ -56,7 +56,7 @@ $(call gb_PythonTest_get_target,%) :
# always use udkapi and URE services # always use udkapi and URE services
define gb_PythonTest_PythonTest define gb_PythonTest_PythonTest
$(call gb_PythonTest_get_target,$(1)) : PYPATH := $(SRCDIR)/unotest/source/python$$(gb_CLASSPATHSEP)$(gb_DEVINSTALLROOT)/$(LIBO_LIB_PYUNO_FOLDER) $(call gb_PythonTest_get_target,$(1)) : PYPATH := $(SRCDIR)/unotest/source/python$$(gb_CLASSPATHSEP)$(gb_DEVINSTALLROOT)/$(LIBO_LIB_PYUNO_FOLDER)$(if $(filter-out $(LIBO_LIB_PYUNO_FOLDER),$(LIBO_LIB_FOLDER)),$(gb_CLASSPATHSEP)$(gb_DEVINSTALLROOT)/$(LIBO_LIB_FOLDER))
$(call gb_PythonTest_get_target,$(1)) : MODULES := $(call gb_PythonTest_get_target,$(1)) : MODULES :=
$(eval $(call gb_Module_register_target,$(call gb_PythonTest_get_target,$(1)),$(call gb_PythonTest_get_clean_target,$(1)))) $(eval $(call gb_Module_register_target,$(call gb_PythonTest_get_target,$(1)),$(call gb_PythonTest_get_clean_target,$(1))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment