Re: [AD] Patch for makefile issue when compiling MSVC with Cygwin

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Michal Molhanec napsal(a):
Btw something produces message
Invalid switch - "msvc".
(already the unpatched 4.2.1 so it's not fault of my patch)

fixed. I wonder if manifest embedding ever worked

--
Regards,
    Michal

ICQ# 175762750
--- makefile.vc.old	Sat Dec 30 12:57:44 2006
+++ makefile.vc	Sat Dec 30 13:41:16 2006
@@ -396,7 +396,7 @@
 endif
 define MAKE_LIB
    $(RUNNER) $(MSVC_LINK) @ -nologo $(LFLAGS) -dll -def:lib/msvc/allegro.def -out:$(DLL_NAME) -implib:$(IMPLIB_NAME) $(OBJECTS) $(LIBRARIES)
-   $(EMBEDMAN_BAT) $(DLL_NAME) 2
+   $(EMBEDMAN_BAT) $(subst /,\,$(DLL_NAME)) 2
 endef
 else
 define MAKE_LIB


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/