summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index ece3401..0f42c37 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -44,6 +44,20 @@
# hosts should pass an explicit target_arch to gyp.
'target_arch%':
'<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/arm.*/arm/")',
+
+ # On Linux, we use the system versions of several libraries. We end
+ # up pulling these in as .so's anyway since they are already in our
+ # transitive closure due to GTK.
+ 'use_system_zlib': 1,
+ 'use_system_libjpeg': 1,
+ 'use_system_bzip2': 1,
+ 'use_system_libpng': 1,
+ 'use_system_libjpeg': 1,
+ 'use_system_libxslt': 1,
+
+ # We use our own copy of libssl, although we still need to link
+ # against the rest of NSS.
+ 'use_system_ssl': 0,
}, { # OS!="linux"
'target_arch%': 'ia32',
}],