]> khamidou — GitHub mirrors - electron.git/commitdiff
Make Objective-C's categories work.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 27 Jun 2013 11:53:57 +0000 (19:53 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sat, 29 Jun 2013 01:23:27 +0000 (09:23 +0800)
See more on:
http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library

atom.gyp

index 74b8567f1725857e92caddd14938889d2cea420b..1a87591ad8fff07138b8ba040c3ada59317c821c 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
             'LD_RUNPATH_SEARCH_PATHS': [
               '@loader_path/Libraries',
             ],
+            'OTHER_LDFLAGS': [
+              '-ObjC',
+            ],
           },
           'copies': [
             {