Skip to content

Commit

Permalink
Fix typo in Mac build script
Browse files Browse the repository at this point in the history
  • Loading branch information
jonoomph committed Mar 31, 2023
1 parent fb5dfcf commit 2e99dbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions installer/fix_qt5_rpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def fix_rpath(PATH):
# Change ID path of library files
# Sometimes, the ID has an absolute path or invalid @rpath embedded in it, which breaks our frozen exe
call(["install_name_tool", file_path, "-id", executable_path],
stdout=subprocess.STDOUT, stderr=subprocess.DEVNUL)
stdout=subprocess.STDOUT, stderr=subprocess.DEVNULL)

# Loop through all dependencies of each library/executable
raw_output = subprocess.Popen(["oTool", "-L", file_path], stdout=subprocess.PIPE).communicate()[0].decode('utf-8')
Expand All @@ -52,7 +52,7 @@ def fix_rpath(PATH):
print("ERROR: /usr/local PATH not found in EXE folder: %s" % dependency_path)
else:
call(["install_name_tool", file_path, "-change", dependency_path, dependency_exe_path],
stdout=subprocess.STDOUT, stderr=subprocess.DEVNUL)
stdout=subprocess.STDOUT, stderr=subprocess.DEVNULL)


def print_min_versions(PATH):
Expand Down

0 comments on commit 2e99dbd

Please sign in to comment.