summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/bzip2/bzip2.gyp9
-rw-r--r--third_party/libjpeg/libjpeg.gyp9
-rw-r--r--third_party/libpng/libpng.gyp9
-rw-r--r--third_party/libxslt/libxslt.gyp7
-rw-r--r--third_party/zlib/zlib.gyp9
5 files changed, 38 insertions, 5 deletions
diff --git a/third_party/bzip2/bzip2.gyp b/third_party/bzip2/bzip2.gyp
index 8bf3b31..c0f36e0 100644
--- a/third_party/bzip2/bzip2.gyp
+++ b/third_party/bzip2/bzip2.gyp
@@ -4,7 +4,14 @@
{
'variables': {
- 'use_system_bzip2%': 0,
+ 'conditions': [
+ [ 'OS=="linux"', {
+ # Link to system .so since we already use it due to GTK.
+ 'use_system_bzip2%': 1,
+ }, { # OS!="linux"
+ 'use_system_bzip2%': 0,
+ }],
+ ],
},
'conditions': [
['use_system_bzip2==0', {
diff --git a/third_party/libjpeg/libjpeg.gyp b/third_party/libjpeg/libjpeg.gyp
index c0259d6..1b0798b 100644
--- a/third_party/libjpeg/libjpeg.gyp
+++ b/third_party/libjpeg/libjpeg.gyp
@@ -4,7 +4,14 @@
{
'variables': {
- 'use_system_libjpeg%': 0,
+ 'conditions': [
+ [ 'OS=="linux"', {
+ # Link to system .so since we already use it due to GTK.
+ 'use_system_libjpeg%': 1,
+ }, { # OS!="linux"
+ 'use_system_libjpeg%': 0,
+ }],
+ ],
},
'conditions': [
['use_system_libjpeg==0', {
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp
index 6093d5f..1387b18 100644
--- a/third_party/libpng/libpng.gyp
+++ b/third_party/libpng/libpng.gyp
@@ -4,7 +4,14 @@
{
'variables': {
- 'use_system_libpng%': 0,
+ 'conditions': [
+ [ 'OS=="linux"', {
+ # Link to system .so since we already use it due to GTK.
+ 'use_system_libpng%': 1,
+ }, { # OS!="linux"
+ 'use_system_libpng%': 0,
+ }],
+ ],
},
'conditions': [
['use_system_libpng==0', {
diff --git a/third_party/libxslt/libxslt.gyp b/third_party/libxslt/libxslt.gyp
index 1f62810..4a8f812 100644
--- a/third_party/libxslt/libxslt.gyp
+++ b/third_party/libxslt/libxslt.gyp
@@ -8,8 +8,13 @@
['OS=="linux" or OS=="freebsd"', {'os_include': 'linux'}],
['OS=="mac"', {'os_include': 'mac'}],
['OS=="win"', {'os_include': 'win32'}],
+ [ 'OS=="linux"', {
+ # Link to system .so since we already use it due to GTK.
+ 'use_system_libxslt%': 1,
+ }, { # OS!="linux"
+ 'use_system_libxslt%': 0,
+ }],
],
- 'use_system_libxslt%': 0,
},
'targets': [
{
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp
index 44e1f8b..36613a7 100644
--- a/third_party/zlib/zlib.gyp
+++ b/third_party/zlib/zlib.gyp
@@ -4,7 +4,14 @@
{
'variables': {
- 'use_system_zlib%': 0,
+ 'conditions': [
+ [ 'OS=="linux"', {
+ # Link to system .so since we already use it due to GTK.
+ 'use_system_zlib%': 1,
+ }, { # OS!="linux"
+ 'use_system_zlib%': 0,
+ }],
+ ],
},
'conditions': [
['use_system_zlib==0', {