diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-06-10 17:48:03 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-06-10 17:48:03 +1000 |
commit | c55d404d903599d8d184b1572fffaeb0f8885080 (patch) | |
tree | 207d9a80e4c75e8de4152ba79de36117d265709f /tools/depends | |
parent | a7f66f24f77baaa64f2081002e4cd70ff5ec09e0 (diff) |
[tools/depends][target] pythonmodule-setuptools fix loading pkg_resources error
Diffstat (limited to 'tools/depends')
-rw-r--r-- | tools/depends/target/pythonmodule-setuptools/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/depends/target/pythonmodule-setuptools/Makefile b/tools/depends/target/pythonmodule-setuptools/Makefile index b2b13e390e..9a9992f643 100644 --- a/tools/depends/target/pythonmodule-setuptools/Makefile +++ b/tools/depends/target/pythonmodule-setuptools/Makefile @@ -5,13 +5,12 @@ LIBDYLIB=$(PLATFORM)/dist/$(LIBNAME)-$(VERSION)-py$(PYTHON_VERSION).egg all: .installed-$(PLATFORM) - $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) $(DEPS) rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) .installed-$(PLATFORM): $(PLATFORM) - cd $(PLATFORM); $(CROSSFLAGS) $(NATIVEPREFIX)/bin/python3 setup.py install --prefix=$(PREFIX) + cd $(PLATFORM); PYTHONPATH="$(PYTHON_SITE_PKG)" $(NATIVEPREFIX)/bin/python3 setup.py install --prefix=$(PREFIX) touch $@ clean: |