Index: courgette/courgette.gyp |
diff --git a/courgette/courgette.gyp b/courgette/courgette.gyp |
index 69965b39bcd8d325e89127f894db85747495cc31..f4f1c71be4437d384f07f01f7235785bb0a8f022 100644 |
--- a/courgette/courgette.gyp |
+++ b/courgette/courgette.gyp |
@@ -106,7 +106,7 @@ |
'../testing/gtest.gyp:gtest', |
], |
'conditions': [ |
- [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
+ [ 'toolkit_uses_gtk == 1', { |
'dependencies': [ |
# Workaround for gyp bug 69. |
# Needed to handle the #include chain: |
@@ -132,7 +132,7 @@ |
'../testing/gtest.gyp:gtest', |
], |
'conditions': [ |
- [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { |
+ [ 'toolkit_uses_gtk == 1', { |
'dependencies': [ |
# Workaround for gyp bug 69. |
# Needed to handle the #include chain: |