From: John L. <jr...@us...> - 2011-04-03 05:44:18
|
Update of /cvsroot/wxlua/wxLua/modules/lua/src In directory vz-cvs-4.sog:/tmp/cvs-serv7535/modules/lua/src Modified Files: Makefile Log Message: 64 compilation fix Add Makefile.wx-config to easily build all using only the wx-config script add linker --rpath so you don't have to set LD_LIBRARY_PATH to find libs Index: Makefile =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/lua/src/Makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Makefile 25 Jan 2008 23:50:51 -0000 1.9 --- Makefile 3 Apr 2011 05:44:15 -0000 1.10 *************** *** 15,20 **** LIBS= -lm $(MYLIBS) ! MYCFLAGS= ! MYLDFLAGS= MYLIBS= --- 15,20 ---- LIBS= -lm $(MYLIBS) ! MYCFLAGS= -fPIC ! MYLDFLAGS= -fPIC MYLIBS= *************** *** 97,101 **** linux: ! $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses" macosx: --- 97,101 ---- linux: ! $(MAKE) all MYCFLAGS="-DLUA_USE_LINUX -fPIC" MYLIBS="-fPIC -Wl,-E -ldl -lreadline -lhistory -lncurses" macosx: |