summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-20 19:31:48 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-20 19:31:48 +0000
commit054447e2c3b50bb3000a9b3da989c8b86329f110 (patch)
tree4efeb9e40e9c07ba9b80f3154bab055d177c2ddf /build/linux
parent9afed96cfe5269e859df4cce82f371c257e960de (diff)
downloadchromium_src-054447e2c3b50bb3000a9b3da989c8b86329f110.zip
chromium_src-054447e2c3b50bb3000a9b3da989c8b86329f110.tar.gz
chromium_src-054447e2c3b50bb3000a9b3da989c8b86329f110.tar.bz2
Fix linking on linux by explicitly adding gthread.
Review URL: http://codereview.chromium.org/84005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14051 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/linux')
-rw-r--r--build/linux/system.gyp17
1 files changed, 17 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)',
+ ],
+ },
+ },
],
}