]> khamidou — GitHub mirrors - electron.git/commitdiff
Remove hacky build settings
authorCheng Zhao <zcbenz@gmail.com>
Tue, 29 Dec 2015 06:50:29 +0000 (14:50 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 29 Dec 2015 06:51:00 +0000 (14:51 +0800)
atom.gyp

index 56883ccf042d1a6f426cd1e8290fbddcbd75f8f0..1fb1fb7e73177a0f202cc7480707a9463013ed24 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
         'include_dirs': [
           '.',
         ],
-        'ldflags': [
-          '-Wl,--whole-archive',
-          '<@(libchromiumcontent_libraries)',
-          '-Wl,--no-whole-archive',
-        ],
       },
       'export_dependent_settings': [
         'vendor/brightray/brightray.gyp:brightray',
                 '${BUILT_PRODUCTS_DIR}/<(product_name) Framework.framework/Versions/A/<(product_name) Framework',
               ],
             },
-            {
-              'postbuild_name': 'Fix path of libwidevinecdm',
-              'action': [
-                'install_name_tool',
-                '-change',
-                '@loader_path/libwidevinecdm.dylib',
-                '@rpath/libwidevinecdm.dylib',
-                '${BUILT_PRODUCTS_DIR}/<(product_name) Framework.framework/Versions/A/<(product_name) Framework',
-              ],
-            },
             {
               'postbuild_name': 'Add symlinks for framework subdirectories',
               'action': [