Update of /cvsroot/wxlua/wxLua/apps/build/bakefiles
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20579/wxLua/apps/build/bakefiles
Modified Files:
apps.bkl
Log Message:
use /nodefaultlib:"MSVCRT.lib" for msvc to make the apps not crash at startup
Index: apps.bkl
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/build/bakefiles/apps.bkl,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** apps.bkl 30 Nov 2005 23:52:30 -0000 1.12
--- apps.bkl 28 Dec 2005 23:02:49 -0000 1.13
***************
*** 65,68 ****
--- 65,72 ----
<win32-res>wxlua/src/wxlua.rc</win32-res>
+ <if cond="FORMAT=='msvc6prj' or FORMAT=='msvc'">
+ <ldflags>/nodefaultlib:"MSVCRT.lib"</ldflags>
+ </if>
+
<!-- Libraries must be put in the reverse order they'll be loaded -->
<wxlua-lib>wxluasocket</wxlua-lib>
***************
*** 107,110 ****
--- 111,118 ----
<if cond="TARGETING_WIN32=='1'"><include>$(WX_DIR)$(DIRSEP)contrib$(DIRSEP)include</include></if>
+ <if cond="FORMAT=='msvc6prj' or FORMAT=='msvc'">
+ <ldflags>/nodefaultlib:"MSVCRT.lib"</ldflags>
+ </if>
+
<!-- Libraries must be put in the reverse order they'll be loaded -->
<wxlua-lib>wxluasocket</wxlua-lib>
|