summaryrefslogtreecommitdiffstats
path: root/third_party/libxml/libxml.gyp
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 18:08:50 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-13 18:08:50 +0000
commitd2976b5f3c63a5059d361a05ebd6c4fa0cb53a6e (patch)
tree05dbd35b13b4541b539611ed8578efa7d31b6e2d /third_party/libxml/libxml.gyp
parent63c73a41a18228493aa443243edb5082b667d50b (diff)
downloadchromium_src-d2976b5f3c63a5059d361a05ebd6c4fa0cb53a6e.zip
chromium_src-d2976b5f3c63a5059d361a05ebd6c4fa0cb53a6e.tar.gz
chromium_src-d2976b5f3c63a5059d361a05ebd6c4fa0cb53a6e.tar.bz2
Linux: fix up use_system_{libxml,libxslt,sqlite3}
http://codereview.chromium.org/164450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23324 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libxml/libxml.gyp')
-rw-r--r--third_party/libxml/libxml.gyp10
1 files changed, 8 insertions, 2 deletions
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp
index 84fb755..50528ad 100644
--- a/third_party/libxml/libxml.gyp
+++ b/third_party/libxml/libxml.gyp
@@ -22,12 +22,18 @@
'type': 'settings',
'direct_dependent_settings': {
'cflags': [
- '<!@(python ../../build/linux/pkg_config_wrapper.py --cflags libxml-2.0)',
+ '<!@(pkg-config --cflags libxml-2.0)',
+ ],
+ 'defines': [
+ 'USE_SYSTEM_LIBXML',
],
},
'link_settings': {
+ 'ldflags': [
+ '<!@(pkg-config --libs-only-L --libs-only-other libxml-2.0)',
+ ],
'libraries': [
- '<!@(python ../../build/linux/pkg_config_wrapper.py --libs libxml-2.0)',
+ '<!@(pkg-config --libs-only-l libxml-2.0)',
],
},
}, { # else: OS != "linux" or ! use_system_libxml