diff --git a/config/modules.mk b/config/modules.mk index 350d7ad5b..8215e2df5 100644 --- a/config/modules.mk +++ b/config/modules.mk @@ -51,7 +51,7 @@ make_module_list: clean_module_list # ifneq ($(findstring $(PLATFORM),dos win32 win16 os2),) OPEN_MODULE := @echo # - CLOSE_MODULE := >> $(FT_MODULE_LIST) + CLOSE_MODULE := >> $(subst /,\,$(FT_MODULE_LIST)) else OPEN_MODULE := @echo " CLOSE_MODULE := " >> $(FT_MODULE_LIST) diff --git a/config/win32/w32-lcc.mk b/config/win32/w32-lcc.mk index c5ae106a5..f042d2382 100644 --- a/config/win32/w32-lcc.mk +++ b/config/win32/w32-lcc.mk @@ -119,8 +119,7 @@ ifdef BUILD_FREETYPE # librarian library_file {list of object files} # $(FT_LIBRARY): $(OBJECTS_LIST) - lcclnk -o $(subst $(SEP),$(HOSTSEP),$@) \ - $(subst $(SEP),$(HOSTSEP),$(OBJECTS_LIST)) + lcclib /out:$(subst /,\\,$@) $(subst /,\\,$(OBJECTS_LIST)) endif