1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

fix build issue introduced when adding linenoise for posix platforms

This commit is contained in:
James Snyder 2011-06-24 18:24:24 -05:00
parent c388e32a84
commit f175278212

View File

@ -367,7 +367,7 @@ if comp.target == 'lualong' then addm( "LUA_NUMBER_INTEGRAL" ) end
if platform == 'sim' then addm( { "ELUA_SIMULATOR", "ELUA_SIM_" .. cnorm( comp.cpu ) } ) end
-- Lua source files and include path
exclude_patterns = { "^src/platform", "^src/uip", "^src/serial", "^src/luarpc_desktop_serial.c", "^src/lua/print.c", "^src/lua/luac.c" }
exclude_patterns = { "^src/platform", "^src/uip", "^src/serial", "^src/luarpc_desktop_serial.c", "^src/linenoise_posix.c", "^src/lua/print.c", "^src/lua/luac.c" }
local source_files = utils.get_files( "src", function( fname )
fname = fname:gsub( "\\", "/" )
local include = fname:find( ".*%.c$" )