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
|
||||
#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
|
||||
LUAPKG = lua5.1
|
||||
CFLAGS = `pkg-config $(LUAPKG) --cflags` -O3 -Wall
|
||||
LFLAGS = -shared
|
||||
LFLAGS = -shared $(OMIT_FRAME_POINTER)
|
||||
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
|
||||
## uncomment and change the following ones according to your building
|
||||
## enviroment.
|
||||
|
||||
#CFLAGS = -I/usr/include/lua5.1/ -O3 -Wall
|
||||
#LFLAGS = -shared
|
||||
#LIBS = -llua5.1
|
||||
#LFLAGS = -shared $(OMIT_FRAME_POINTER)
|
||||
#INSTALL_PATH = /usr/lib/lua/5.1
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user