Skip to content

Commit

Permalink
Treat files as objc
Browse files Browse the repository at this point in the history
  • Loading branch information
milani committed Oct 30, 2012
1 parent 1e1a23d commit 5ac99f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion binding.gyp
Expand Up @@ -277,13 +277,15 @@
'cflags': [ '-m32' ], 'cflags': [ '-m32' ],
'ldflags': [ '-m32' ], 'ldflags': [ '-m32' ],
'xcode_settings': { 'xcode_settings': {
'OTHER_CFLAGS': ['-ObjC++']
'OTHER_LDFLAGS':['-Xlinker -rpath -Xlinker @loader_path/../../../../appjs-darwin/libs/'], 'OTHER_LDFLAGS':['-Xlinker -rpath -Xlinker @loader_path/../../../../appjs-darwin/libs/'],
'ARCHS': [ 'i386' ] 'ARCHS': [ 'i386' ]
}, },
'link_settings': { 'link_settings': {
'libraries': [ 'libraries': [
'<(module_root_dir)/deps/cef/Release/lib.target/libcef.dylib', '<(module_root_dir)/deps/cef/Release/lib.target/libcef.dylib',
'<(module_root_dir)/build/Release/cef_dll_wrapper.node' '<(module_root_dir)/build/Release/cef_dll_wrapper.node',
'-lobjc'
] ]
} }
}], }],
Expand Down

0 comments on commit 5ac99f7

Please sign in to comment.