]> granicus.if.org Git - curl/commitdiff
Fix NetWare build for vtls files.
authorGuenter Knauf <lists@gknw.net>
Thu, 2 Jan 2014 19:40:33 +0000 (20:40 +0100)
committerGuenter Knauf <lists@gknw.net>
Thu, 2 Jan 2014 19:40:33 +0000 (20:40 +0100)
lib/Makefile.netware

index 058047bb2b94b0928f47ee97451419789709e50b..bafd32ffa025e29941bca8153ca82ad7c5e38228 100644 (file)
@@ -315,10 +315,12 @@ endif
 # Makefile.inc provides the CSOURCES and HHEADERS defines
 include Makefile.inc
 
-OBJS   := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CSOURCES))) $(OBJDIR)/nwos.o
+OBJS   := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(notdir $(CSOURCES)))) $(OBJDIR)/nwos.o
 
 OBJL   = $(OBJS) $(OBJDIR)/nwlib.o $(LDLIBS)
 
+vpath %.c . vtls
+
 all: lib nlm
 
 nlm: prebuild $(TARGET).nlm