summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--google_update/using_google_update.scons18
1 files changed, 10 insertions, 8 deletions
diff --git a/google_update/using_google_update.scons b/google_update/using_google_update.scons
index b60669a..c3d95cc 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',
+ ],
+ )