aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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