about summary refs log tree commit diff
path: root/src/libstore/s3-binary-cache-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-05-04T15·16+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-05-04T15·16+0200
commit75d2492f20dc513337de3ef2d45e1d5c68c7dff8 (patch)
tree61c9ee0856ef91bc3e4c524eeccf845828ccf9ad /src/libstore/s3-binary-cache-store.cc
parent16d9c872e41eb39248d88a3ba7c5706267676153 (diff)
Make the aws-cpp-sdk dependency optional
Diffstat (limited to 'src/libstore/s3-binary-cache-store.cc')
-rw-r--r--src/libstore/s3-binary-cache-store.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc
index cffcb1bf21..e64d0eb852 100644
--- a/src/libstore/s3-binary-cache-store.cc
+++ b/src/libstore/s3-binary-cache-store.cc
@@ -1,3 +1,7 @@
+#include "config.h"
+
+#if ENABLE_S3
+
 #include "s3-binary-cache-store.hh"
 #include "nar-info.hh"
 #include "nar-info-disk-cache.hh"
@@ -251,3 +255,5 @@ static RegisterStoreImplementation regStore([](
 });
 
 }
+
+#endif