| Re: [AD] Patch for makefile issue when compiling MSVC with Cygwin | 
[ Thread Index | 
Date Index
| More lists.liballeg.org/allegro-developers Archives
] 
- To: Coordination of admins/developers of the game programming library Allegro	<alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] Patch for makefile issue when compiling MSVC with Cygwin
- From: Michal Molhanec <michal@xxxxxxxxxx>
- Date: Sat, 30 Dec 2006 13:50:44 +0100
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