Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keplerproject/luafilesystem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKıvanç Çakmak <kivanccakmak@gmail.com>2017-11-30 01:12:28 +0300
committerHisham Muhammad <hisham@gobolinux.org>2017-11-30 01:12:28 +0300
commite5f06c270ae0bdd4cf25ac89fda9106fc589a350 (patch)
treea1593c61d2a522ca38b1f2e68e30cbdb390fc899
parent884b52a3b29661a10e183daf4cea7a37698f404b (diff)
added extra include-dir to compile in ubuntu (#103)
-rw-r--r--config5
1 files changed, 3 insertions, 2 deletions
diff --git a/config b/config
index cfd4c6a..2fc9a78 100644
--- a/config
+++ b/config
@@ -7,7 +7,8 @@ PREFIX=/usr/local
LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
# Lua includes directory
-LUA_INC= $(PREFIX)/include
+LUA_INC += -I$(PREFIX)/include
+LUA_INC += -I/usr/include/lua5.1
# OS dependent
LIB_OPTION= -shared #for Linux
@@ -17,7 +18,7 @@ LIBNAME= $T.so.$V
# Compilation directives
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)
CC= gcc