From: Francesco M. <fr...@us...> - 2007-05-06 10:53:22
|
Update of /cvsroot/wxlua/wxLua/apps/build/bakefiles In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv17056/apps/build/bakefiles Modified Files: apps.bkl Log Message: don't build LUAC when SHARED==1 as it uses Lua private functions not exported in shared libs of Lua Index: apps.bkl =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/build/bakefiles/apps.bkl,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** apps.bkl 6 May 2007 10:16:31 -0000 1.56 --- apps.bkl 6 May 2007 10:52:45 -0000 1.57 *************** *** 72,76 **** --- 72,78 ---- <ldflags>$(LUA_PLATFORM_SPECIFIC_LDFLAGS)</ldflags> + <!-- lua apps needs only pure lua library: --> <wxlua-lib>lua</wxlua-lib> + <if cond="TARGETING_WIN32=='0'"> <!-- we require the standard MATH library to build the lua sources *************** *** 90,94 **** folder and thus we only need to use .. to get to the module root --> <sources>../modules/lua/src/lua.c</sources> - <headers></headers> <!-- we want as EXE name the standard "lua" name so that when we install --- 92,95 ---- *************** *** 103,114 **** <!-- ================================================================== --> ! <exe id="app_luac" template="luaapp"> ! <!--- the .. is because SRCDIR is always set to us to the wxLua/apps ! folder and thus we only need to use .. to get to the module root --> <sources> ! ../modules/lua/src/luac.c ! ../modules/lua/src/print.c </sources> - <headers></headers> <!-- we want as EXE name the standard "luac" name so that when we install --- 104,119 ---- <!-- ================================================================== --> ! <!-- ! NB: LUAC is built only when SHARED=='0' because LUAC uses ! some private functions contained in the Lua library which ! are not exported as public when building in SHARED mode. ! --> ! ! <exe id="app_luac" template="luaapp" cond="SHARED=='0'"> <sources> ! <!--- the .. is because SRCDIR is always set to us to the wxLua/apps ! folder and thus we only need to use .. to get to the module root --> ! $(addPrefixToList('../modules/lua/src/', 'luac.c print.c')) </sources> <!-- we want as EXE name the standard "luac" name so that when we install |