diff options
-rw-r--r-- | build/linux/system.gyp | 17 | ||||
-rw-r--r-- | chrome/chrome.gyp | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp index 46bf22c..df40c92 100644 --- a/build/linux/system.gyp +++ b/build/linux/system.gyp @@ -106,5 +106,22 @@ ], }, }, + { + 'target_name': 'gthread', + 'type': 'settings', + 'direct_dependent_settings': { + 'cflags': [ + '<!@(python pkg_config_wrapper.py --cflags gthread-2.0)', + ], + }, + 'link_settings': { + 'ldflags': [ + '<!@(python pkg_config_wrapper.py --libs-only-L --libs-only-other gthread-2.0)', + ], + 'libraries': [ + '<!@(python pkg_config_wrapper.py --libs-only-l gthread-2.0)', + ], + }, + }, ], } diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 91940fe..d707037 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -1622,6 +1622,8 @@ 'views', # Needed for chrome_dll_main.cc #include of gtk/gtk.h '../build/linux/system.gyp:gtk', + # Needed for chrome_dll_main.cc use of g_thread_init + '../build/linux/system.gyp:gthread', ], 'copies': [ { |