From 1cbd622cef31e373b9938afdc2e652cd7453e737 Mon Sep 17 00:00:00 2001 From: Alexandre Erwin Ittner Date: Wed, 17 Nov 2010 01:57:40 -0200 Subject: [PATCH] Update Makefile Currently, Lua 5.2.0-alpha do not provides a pkg-config file. I hope it will change in the final release, so we have an automated Makefile for free. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b07eb06..c26c2af 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,8 @@ # line when debugging. OMIT_FRAME_POINTER = -fomit-frame-pointer -# Name of .pc file. "lua5.1" on Debian/Ubuntu -LUAPKG = lua5.1 +# Name of .pc file. "lua5.2" on Debian/Ubuntu +LUAPKG = lua5.2 CFLAGS = `pkg-config $(LUAPKG) --cflags` -fPIC -O3 -Wall LFLAGS = -shared $(OMIT_FRAME_POINTER) INSTALL_PATH = `pkg-config $(LUAPKG) --variable=INSTALL_CMOD` @@ -40,7 +40,7 @@ INSTALL_PATH = `pkg-config $(LUAPKG) --variable=INSTALL_CMOD` ## uncomment and change the following ones according to your building ## enviroment. -#CFLAGS = -I/usr/include/lua5.1/ -fPIC -O3 -Wall +#CFLAGS = -I/usr/include/lua5.2/ -fPIC -O3 -Wall #LFLAGS = -shared $(OMIT_FRAME_POINTER) #INSTALL_PATH = /usr/lib/lua/5.1