Index: google_update/using_google_update.scons |
diff --git a/google_update/using_google_update.scons b/google_update/using_google_update.scons |
index b60669a74c52dd3c371ff03ea8adb95f602b68e1..c3d95ccf0bc77ea5e1bd57a904fa6d627684906a 100644 |
--- a/google_update/using_google_update.scons |
+++ b/google_update/using_google_update.scons |
@@ -8,11 +8,13 @@ Settings for other components using Google Update. |
Import("env") |
-env.Append( |
- CPPPATH = [ |
- '$GOOGLE_UPDATE_DIR', |
- ], |
- LIBS = [ |
- 'google_update', |
- ], |
-) |
+# Google Update only works on Windows. |
+if env.Bit('windows'): |
+ env.Append( |
+ CPPPATH = [ |
+ '$GOOGLE_UPDATE_DIR', |
+ ], |
+ LIBS = [ |
+ 'google_update', |
+ ], |
+ ) |