diff --git a/external/python3/ExternalPackage_python3.mk b/external/python3/ExternalPackage_python3.mk index a6b0d352f84c..984e925bf102 100644 --- a/external/python3/ExternalPackage_python3.mk +++ b/external/python3/ExternalPackage_python3.mk @@ -1074,6 +1074,7 @@ $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/p $(eval $(call gb_ExternalPackage_add_unpacked_files,python3,$(LIBO_BIN_FOLDER)/python-core-$(PYTHON_VERSION)/lib/pip/_vendor/certifi,\ Lib/pip/_vendor/certifi/__init__.py \ Lib/pip/_vendor/certifi/__main__.py \ + Lib/pip/_vendor/certifi/cacert.pem \ Lib/pip/_vendor/certifi/core.py \ )) diff --git a/external/python3/generateExternalPackage.py b/external/python3/generateExternalPackage.py index a669580ed0f5..ef6650438626 100755 --- a/external/python3/generateExternalPackage.py +++ b/external/python3/generateExternalPackage.py @@ -34,7 +34,7 @@ if __name__ == '__main__': continue for fileName in sorted(files): - if not fileName.endswith(".py"): + if not fileName.endswith(".py") and not fileName.endswith(".pem"): continue filesList.append(path.join(relPythonDir, fileName)) if filesList: