Fix the crash reporter not launching
authorJocelyn Turcotte <jturcotte@woboq.com>
Tue, 2 Feb 2016 09:43:44 +0000 (10:43 +0100)
committerJocelyn Turcotte <jturcotte@woboq.com>
Tue, 2 Feb 2016 09:43:52 +0000 (10:43 +0100)
The proper path needs to be returned from CopyFramework
in order for install_name_tool to be run on the destination.

admin/osx/macdeployqt.py

index 25bfaeb2cdf4266bd598f78821aa62f92799fa8c..aab039388fc51c1bf155fe2ba7f0a816abd6a35f 100755 (executable)
@@ -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)