Skip to content

Commit 19ef8fc

Browse files
committed
Fix typo in Mac build script (take 2)
1 parent 2e99dbd commit 19ef8fc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

installer/fix_qt5_rpath.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ def fix_rpath(PATH):
3535

3636
# Change ID path of library files
3737
# Sometimes, the ID has an absolute path or invalid @rpath embedded in it, which breaks our frozen exe
38-
call(["install_name_tool", file_path, "-id", executable_path],
39-
stdout=subprocess.STDOUT, stderr=subprocess.DEVNULL)
38+
call(["install_name_tool", file_path, "-id", executable_path])
4039

4140
# Loop through all dependencies of each library/executable
4241
raw_output = subprocess.Popen(["oTool", "-L", file_path], stdout=subprocess.PIPE).communicate()[0].decode('utf-8')
@@ -51,8 +50,7 @@ def fix_rpath(PATH):
5150
if not os.path.exists(os.path.join(PATH, dependency_name)):
5251
print("ERROR: /usr/local PATH not found in EXE folder: %s" % dependency_path)
5352
else:
54-
call(["install_name_tool", file_path, "-change", dependency_path, dependency_exe_path],
55-
stdout=subprocess.STDOUT, stderr=subprocess.DEVNULL)
53+
call(["install_name_tool", file_path, "-change", dependency_path, dependency_exe_path])
5654

5755

5856
def print_min_versions(PATH):

0 commit comments

Comments
 (0)