Skip to content

Commit 39f220b

Browse files
authored
Fixed link command syntax error
1 parent 4a8574e commit 39f220b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/example_makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ $(BINDIR)/$(TARGET8XP): $(BINDIR)/$(TARGETHEX)
240240

241241
$(BINDIR)/$(TARGETHEX): $(CSTARTUPOBJ) $(LIBHOBJ) $(OBJECTS)
242242
echo C CE SDK Version $(VERSION)
243-
$(LD) $(LDFLAGS) $@ = "$(subst $(space),$(comma),$(call WINRELPATH,$^) $(LOBJECTS) $(LIBRARIES))"
243+
$(LD) $(LDFLAGS) $@ = "$(subst $(space),$(comma),$(strip $(call WINRELPATH,$^) $(LOBJECTS)$(LIBRARIES)))"
244244

245245
#This rule handles conversion of the icon, if it is ever updated
246246
$(OBJDIR)/$(ICON_OBJ): $(ICONPNG)

0 commit comments

Comments
 (0)