]> khamidou — GitHub mirrors - electron.git/commitdiff
I don't think `fix_framework_link_command` is needed anymore.
authorprobablycorey <cj@github.com>
Tue, 21 Jan 2014 00:29:34 +0000 (16:29 -0800)
committerprobablycorey <cj@github.com>
Tue, 21 Jan 2014 00:32:56 +0000 (16:32 -0800)
tool -L says Squirrel (and its dependencies) already use @rpath

```
@rpath/Squirrel.framework/Squirrel (compatibility version 1.0.0, current version 1.0.0)
@rpath/ReactiveCocoa.framework/ReactiveCocoa (compatibility version 1.0.0, current version 1.0.0)
@rpath/Mantle.framework/Mantle (compatibility version 1.0.0, current version 1.0.0)
```

atom.gyp

index 0864b6507c427e6f835619a34ca5ef79e3eaaf4a..765c8004cd66bde67f17843c10ad8222132a36d8 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
         ],
       }],  # OS=="win"
     ],
-    'fix_framework_link_command': [
-      # TODO: I have no idea if this is needed for Squirrel
-      # 'install_name_tool',
-      # '-change',
-      # '@loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle',
-      # '@rpath/Sparkle.framework/Versions/A/Sparkle',
-      # '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}'
-    ],
     'atom_source_root': '<!(python tools/atom_source_root.py)',
   },
   'target_defaults': {
             },
           ],
           'postbuilds': [
-            {
-              'postbuild_name': 'Fix Framework Link',
-              'action': [
-                '<@(fix_framework_link_command)',
-              ],
-            },
             {
               # This postbuid step is responsible for creating the following
               # helpers:
             },
           ],
           'postbuilds': [
-            {
-              'postbuild_name': 'Fix Framework Link',
-              'action': [
-                '<@(fix_framework_link_command)',
-              ],
-            },
             {
               'postbuild_name': 'Add symlinks for framework subdirectories',
               'action': [
               '@executable_path/../../..',
             ],
           },
-          'postbuilds': [
-            {
-              'postbuild_name': 'Fix Framework Link',
-              'action': [
-                '<@(fix_framework_link_command)',
-              ],
-            },
-          ],
         },  # target helper
       ],
     }],  # OS==Mac