Update of /cvsroot/wxlua/wxLua/apps/wxlua/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3229/wxLua/apps/wxlua/src
Modified Files:
Makefile
Log Message:
Allow multiple overload functions, but pick the first one which should be the best.
Remove duplicate wxWindow::SetSize
Static functions are always called using '.' and never ':'
Index: Makefile
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/Makefile,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** Makefile 23 May 2007 20:17:23 -0000 1.21
--- Makefile 6 Jun 2007 15:20:14 -0000 1.22
***************
*** 17,20 ****
--- 17,29 ----
LUA = $(WXLUA_DIR)/bin/lua
+
+ # If we're using cygwin, lua maybe somewhere else, try some common places
+ # note some other variables cygwin sets don't seem to be exported
+ ifeq (Cygwin, $(findstring Cygwin, $(XTERM_VERSION)))
+ LUA=$(WXLUA_DIR)/bin/vc_lib/lua.exe
+ else
+ LUA=$(WXLUA_DIR)/bin/lua
+ endif
+
# ----------------------------------------------------------------------------
|