aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.netware
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.netware')
-rw-r--r--src/Makefile.netware5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 1c428edea..a49898606 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -232,7 +232,10 @@ endif
include Makefile.inc
OBJX := $(patsubst %.c,$(OBJDIR)/%.o,$(notdir $(strip $(CURLX_ONES))))
-OBJS := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CURL_SOURCES))) $(OBJX)
+OBJS := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CURL_CFILES)))
+ifndef LINK_STATIC
+OBJS += $(OBJX)
+endif
vpath %.c $(CURL_LIB)