diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-04 17:16:48 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-05-04 17:16:48 +0200 |
commit | 75d2492f20dc513337de3ef2d45e1d5c68c7dff8 (patch) | |
tree | 61c9ee0856ef91bc3e4c524eeccf845828ccf9ad /src/libstore/local.mk | |
parent | 16d9c872e41eb39248d88a3ba7c5706267676153 (diff) |
Make the aws-cpp-sdk dependency optional
Diffstat (limited to 'src/libstore/local.mk')
-rw-r--r-- | src/libstore/local.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk index 22b0f235e..9d5c04dca 100644 --- a/src/libstore/local.mk +++ b/src/libstore/local.mk @@ -8,7 +8,11 @@ libstore_SOURCES := $(wildcard $(d)/*.cc) libstore_LIBS = libutil libformat -libstore_LDFLAGS = $(SQLITE3_LIBS) -lbz2 $(LIBCURL_LIBS) $(SODIUM_LIBS) -laws-cpp-sdk-s3 -laws-cpp-sdk-core -pthread +libstore_LDFLAGS = $(SQLITE3_LIBS) -lbz2 $(LIBCURL_LIBS) $(SODIUM_LIBS) -pthread + +ifeq ($(ENABLE_S3), 1) + libstore_LDFLAGS += -laws-cpp-sdk-s3 -laws-cpp-sdk-core +endif ifeq ($(OS), SunOS) libstore_LDFLAGS += -lsocket |