mirror of
https://github.com/lunarmodules/lua-iconv.git
synced 2025-06-23 04:34:33 +02:00
Fixing a bad linking to Lua core libs in the makefile
git-svn-id: file:///var/svn/lua-iconv/trunk@53 9538949d-8f27-0410-946f-ce01ef448559
This commit is contained in:
parent
893cb11189
commit
bb7c2ad7e6
10
Makefile
10
Makefile
@ -26,20 +26,22 @@
|
|||||||
#CC = gcc
|
#CC = gcc
|
||||||
#RM = rm
|
#RM = rm
|
||||||
|
|
||||||
|
# Gives a nice speedup, but also spoils debugging on x86. Comment out this
|
||||||
|
# line when debugging.
|
||||||
|
OMIT_FRAME_POINTER = -fomit-frame-pointer
|
||||||
|
|
||||||
# Name of .pc file. "lua5.1" on Debian/Ubuntu
|
# Name of .pc file. "lua5.1" on Debian/Ubuntu
|
||||||
LUAPKG = lua5.1
|
LUAPKG = lua5.1
|
||||||
CFLAGS = `pkg-config $(LUAPKG) --cflags` -O3 -Wall
|
CFLAGS = `pkg-config $(LUAPKG) --cflags` -O3 -Wall
|
||||||
LFLAGS = -shared
|
LFLAGS = -shared $(OMIT_FRAME_POINTER)
|
||||||
INSTALL_PATH = `pkg-config $(LUAPKG) --variable=INSTALL_CMOD`
|
INSTALL_PATH = `pkg-config $(LUAPKG) --variable=INSTALL_CMOD`
|
||||||
LIBS = `pkg-config $(LUAPKG) --libs`
|
|
||||||
|
|
||||||
## If your system doesn't have pkg-config, comment out the previous lines and
|
## If your system doesn't have pkg-config, comment out the previous lines and
|
||||||
## uncomment and change the following ones according to your building
|
## uncomment and change the following ones according to your building
|
||||||
## enviroment.
|
## enviroment.
|
||||||
|
|
||||||
#CFLAGS = -I/usr/include/lua5.1/ -O3 -Wall
|
#CFLAGS = -I/usr/include/lua5.1/ -O3 -Wall
|
||||||
#LFLAGS = -shared
|
#LFLAGS = -shared $(OMIT_FRAME_POINTER)
|
||||||
#LIBS = -llua5.1
|
|
||||||
#INSTALL_PATH = /usr/lib/lua/5.1
|
#INSTALL_PATH = /usr/lib/lua/5.1
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user