diff options
Diffstat (limited to 'o3d/plugin/plugin.gyp')
-rw-r--r-- | o3d/plugin/plugin.gyp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/o3d/plugin/plugin.gyp b/o3d/plugin/plugin.gyp index e7092e7..503994f 100644 --- a/o3d/plugin/plugin.gyp +++ b/o3d/plugin/plugin.gyp @@ -267,6 +267,10 @@ ], ['OS == "linux"', { + 'dependencies': [ + '../../breakpad/breakpad.gyp:breakpad_client', + '../breakpad/breakpad.gyp:o3dBreakpad', + ], 'sources': [ 'linux/config.cc', 'linux/envvars.cc', @@ -288,6 +292,7 @@ # the --as-needed flag. '-lCgGL', '-lGLEW', + '-ldl', # Used by breakpad '-lrt', # Directs the linker to only generate dependencies on libraries # that we actually use. Must come last. @@ -297,6 +302,15 @@ '<!@(pkg-config --libs-only-l xt)', ], 'conditions' : [ + ['target_arch=="ia32"', + { # Used by breakpad + # TODO(zhurunz) Remove the deps on libglog.a + 'libraries': [ + '-Lbreakpad/src/third_party/linux/lib/glog', + '-lglog', + ], + }, + ], ['plugin_rpath != ""', { 'ldflags': [ |