mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
added extra include-dir to compile in ubuntu (#103)
This commit is contained in:
committed by
Hisham Muhammad
parent
884b52a3b2
commit
e5f06c270a
5
config
5
config
@@ -7,7 +7,8 @@ PREFIX=/usr/local
|
|||||||
LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
|
LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
|
||||||
|
|
||||||
# Lua includes directory
|
# Lua includes directory
|
||||||
LUA_INC= $(PREFIX)/include
|
LUA_INC += -I$(PREFIX)/include
|
||||||
|
LUA_INC += -I/usr/include/lua5.1
|
||||||
|
|
||||||
# OS dependent
|
# OS dependent
|
||||||
LIB_OPTION= -shared #for Linux
|
LIB_OPTION= -shared #for Linux
|
||||||
@@ -17,7 +18,7 @@ LIBNAME= $T.so.$V
|
|||||||
|
|
||||||
# Compilation directives
|
# Compilation directives
|
||||||
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
|
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
|
||||||
INCS= -I$(LUA_INC)
|
INCS= $(LUA_INC)
|
||||||
CFLAGS= $(WARN) $(INCS)
|
CFLAGS= $(WARN) $(INCS)
|
||||||
CC= gcc
|
CC= gcc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user