forked from github/server
lua-gmtool kompiliert unter linux
This commit is contained in:
parent
4316903e9a
commit
ec1f6c9963
|
@ -68,5 +68,5 @@ LinkLibraries $(GMTOOL) :
|
||||||
kernel modules items attributes spells races triggers util ;
|
kernel modules items attributes spells races triggers util ;
|
||||||
luabind $(GMTOOL) ;
|
luabind $(GMTOOL) ;
|
||||||
libxml2 $(GMTOOL) ;
|
libxml2 $(GMTOOL) ;
|
||||||
LINKLIBS on $(GMTOOL) += -lm -lncurses ;
|
LINKLIBS on $(GMTOOL) += -lm -lncurses -ldl -lstdc++ ;
|
||||||
Main $(GMTOOL) : $(GMTOOL_SOURCES) ;
|
Main $(GMTOOL) : $(GMTOOL_SOURCES) ;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
struct lua_State;
|
||||||
extern int gmmain(int argc, char *argv[]);
|
extern int gmmain(int argc, char *argv[]);
|
||||||
extern int curses_readline(struct lua_State * L, const char * prompt);
|
extern int curses_readline(struct lua_State * L, const char * prompt);
|
||||||
|
|
||||||
|
@ -22,5 +22,4 @@ extern "C" {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue