mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-22 20:24:36 +02:00
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.
This commit is contained in:
parent
1a183d84c2
commit
1cbd622cef
6
Makefile
6
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user