Просмотр исходного кода

Fix the crash reporter not launching

The proper path needs to be returned from CopyFramework
in order for install_name_tool to be run on the destination.
Jocelyn Turcotte 10 лет назад
Родитель
Сommit
e4ae279f7b
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      admin/osx/macdeployqt.py

+ 2 - 2
admin/osx/macdeployqt.py

@@ -262,8 +262,8 @@ def CopyFramework(source_dylib):
       dest_dylib_path = os.path.join(frameworks_dir, *parts[i:-1])
       break
   if os.path.exists(dest_path):
-    print dest_path, "already exists, skipping..."
-    return
+    print dest_path, "already exists, skipping copy..."
+    return os.path.join(dest_dylib_path, dylib_name)
 
   args = ['mkdir', '-p', dest_dylib_path]
   commands.append(args)