On Dec 8, 2007 11:34 AM, Leslie Newell <[EMAIL PROTECTED]> wrote: > Hi John, > > In wxlua/apps/build/msw/makefile.vc and /modules/build/makefile.vc there > are several lines similar to the following: > > !if "$(RUNTIME_LIBS)" == "static" > __RUNTIME_LIBS_11 = $(__THREADING) > !endif > > I changed each occurrence to : > > !if "$(RUNTIME_LIBS)" == "static" > __RUNTIME_LIBS_11 = T > !endif
You can use $nmake.exe -f maklefile.vc THREADING=multi > In wxLua\modules\build\msw I also had to change this line: > LUA_LIB_CFLAGS = /MD$(VAR_82) /DWIN32 $(VAR) $(VAR_79) $(VAR_81) \ > to: > LUA_LIB_CFLAGS = /MT$(VAR_82) /DWIN32 $(VAR) $(VAR_79) $(VAR_81) \ > > This of course will break the dynamic build. A better approach would be > to change the line to something like this: > LUA_LIB_CFLAGS = /M$(__RUNTIME_LIBS_165)$(VAR_82) /DWIN32 $(VAR) > $(VAR_79) $(VAR_81) \ > > and add: > !if "$(RUNTIME_LIBS)" == "dynamic" > __RUNTIME_LIBS_165 = D > !endif > !if "$(RUNTIME_LIBS)" == "static" > __RUNTIME_LIBS_165 = T > !endif > > I don't know how to modify the bakefiles to produce this automatically. Neither do I. Hopefully Francesco reads this and has some free time as he's pretty good with Bakefile. Regards, John ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users