aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@yahoo.no>2015-10-21 12:59:43 -0400
committerJay Satiro <raysatiro@yahoo.com>2015-10-21 13:00:52 -0400
commitc238d4da1b1a8234e4a680d37c9641266df55adf (patch)
treea13b22ac5057a19237872abff46276e445cceb81 /lib
parent5fecdc26f7ac2472e2d5158c2716e9ac52663214 (diff)
build: fix for MSDOS/djgpp
- Add a VPATH-statement for the vtls/*.c files. - Due to 'vtls/*.c', remove that subdir part from $(OBJECTS).
Diffstat (limited to 'lib')
-rw-r--r--lib/makefile.dj4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/makefile.dj b/lib/makefile.dj
index 2313e5351..a64dd78f4 100644
--- a/lib/makefile.dj
+++ b/lib/makefile.dj
@@ -26,12 +26,14 @@
#
DEPEND_PREREQ = curl_config.h
+VPATH = vtls
TOPDIR = ..
include ../packages/DOS/common.dj
include Makefile.inc
-OBJECTS := $(patsubst %.c,$(OBJ_DIR)/%.o,$(strip $(CSOURCES)))
+SOURCES = $(sort $(CSOURCES))
+OBJECTS = $(addprefix $(OBJ_DIR)/, $(notdir $(SOURCES:.c=.o)))
CURL_LIB = libcurl.a