lua-gmtool kompiliert unter linux

This commit is contained in:
Enno Rehling 2006-04-16 13:04:52 +00:00
parent 4316903e9a
commit ec1f6c9963
3 changed files with 4 additions and 5 deletions

View File

@ -68,5 +68,5 @@ LinkLibraries $(GMTOOL) :
kernel modules items attributes spells races triggers util ;
luabind $(GMTOOL) ;
libxml2 $(GMTOOL) ;
LINKLIBS on $(GMTOOL) += -lm -lncurses ;
LINKLIBS on $(GMTOOL) += -lm -lncurses -ldl -lstdc++ ;
Main $(GMTOOL) : $(GMTOOL_SOURCES) ;

View File

@ -14,7 +14,7 @@
#ifdef __cplusplus
extern "C" {
#endif
struct lua_State;
extern int gmmain(int argc, char *argv[]);
extern int curses_readline(struct lua_State * L, const char * prompt);
@ -22,5 +22,4 @@ extern "C" {
}
#endif
#endif