mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 13:58:40 +09:00
No Issue - Fix building on MacOS Big Sur. The python binary copied reports a valid signature on Big Sur and thus codesign fails. Add the -f option so it overwrites the supposedly valid signature. Other versions are either already unsigned or the install_name_tool invalidates the signature.
This commit is contained in:
parent
59cf6bd808
commit
501ed1ab13
1 changed files with 1 additions and 1 deletions
|
|
@ -1346,7 +1346,7 @@ def install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages, clear, sy
|
|||
raise
|
||||
|
||||
# Resign the executable, since install_name_tool invalidates the signature
|
||||
call_subprocess(["codesign", "-s", "-", py_executable])
|
||||
call_subprocess(["codesign", "-fs", "-", py_executable])
|
||||
|
||||
if not is_win:
|
||||
# Ensure that 'python', 'pythonX' and 'pythonX.Y' all exist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue