diff options
author | Viktor Szakats <commit@vsz.me> | 2020-10-11 19:30:45 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-10-11 23:42:18 +0200 |
commit | c8ca70547472b9af29e6deb426d46afb2c58ae99 (patch) | |
tree | 3a97be07e8a3f36333ce3ba34e4e693b0bf04acc /src | |
parent | a4c26b0abebde418fddab7187ca089b78b6ef6d5 (diff) | |
download | curl-c8ca70547472b9af29e6deb426d46afb2c58ae99.tar.gz |
src/Makefile.m32: fix undefined curlx_dyn_* errors
by linking `lib/dynbuf.c` when building a static curl binary.
Previously this source file was only included when building
a dynamic curl binary. This was likely possibly because no
functions from the `src/Makefile.inc` / `CURLX_CFILES` sources
were actually required for a curl tool build. This has
recently changed with the introduction of `curlx_dyn_*()`
memory functions and their use by the tool sources.
Closes #6060
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.m32 | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Makefile.m32 b/src/Makefile.m32 index 74e7b93d7..b3fcae5cf 100644 --- a/src/Makefile.m32 +++ b/src/Makefile.m32 @@ -380,10 +380,8 @@ include Makefile.inc curl_PROGRAMS = curl.exe curl_OBJECTS := $(patsubst %.c,%.o,$(strip $(CURL_CFILES))) curlx_OBJECTS := $(patsubst %.c,%.o,$(notdir $(strip $(CURLX_CFILES)))) -ifdef DYN curl_OBJECTS += $(curlx_OBJECTS) vpath %.c $(PROOT)/lib -endif RESOURCE = curl.res |