Skip to content

Commit

Permalink
build: explicitly link with libcurl in both static and dynamic s3 sdk…
Browse files Browse the repository at this point in the history
… builds (#89)
  • Loading branch information
dwelch-spike committed Apr 2, 2024
1 parent 26a0147 commit 5ae8329
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Expand Up @@ -172,6 +172,13 @@ ifeq ($(AWS_SDK_STATIC_PATH),)
LIBRARIES += -laws-checksums
LIBRARIES += -laws-c-cal
LIBRARIES += -laws-c-common

ifeq ($(CURL_STATIC_PATH),)
LIBRARIES += -lcurl
else
LIBRARIES += $(CURL_STATIC_PATH)/libcurl.a
endif

else
# do not change the order of these
LIBRARIES += $(AWS_SDK_STATIC_PATH)/libaws-cpp-sdk-s3.a
Expand Down

0 comments on commit 5ae8329

Please sign in to comment.