summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3d90488dab..596f0268ba 100644
--- a/Makefile
+++ b/Makefile
@@ -1366,12 +1366,12 @@ else
endif
ifndef CURL_LDFLAGS
- CURL_LDFLAGS := $(shell $(CURL_CONFIG) --libs)
+ CURL_LDFLAGS = $(eval CURL_LDFLAGS := $$(shell $$(CURL_CONFIG) --libs))$(CURL_LDFLAGS)
endif
CURL_LIBCURL += $(CURL_LDFLAGS)
ifndef CURL_CFLAGS
- CURL_CFLAGS := $(shell $(CURL_CONFIG) --cflags)
+ CURL_CFLAGS = $(eval CURL_CFLAGS := $$(shell $$(CURL_CONFIG) --cflags))$(CURL_CFLAGS)
endif
BASIC_CFLAGS += $(CURL_CFLAGS)