diff options
author | Kıvanç Çakmak <kivanccakmak@gmail.com> | 2017-11-30 01:12:28 +0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2017-11-29 20:12:28 -0200 |
commit | e5f06c270ae0bdd4cf25ac89fda9106fc589a350 (patch) | |
tree | a1593c61d2a522ca38b1f2e68e30cbdb390fc899 | |
parent | 884b52a3b29661a10e183daf4cea7a37698f404b (diff) | |
download | luafilesystem-e5f06c270ae0bdd4cf25ac89fda9106fc589a350.tar.gz luafilesystem-e5f06c270ae0bdd4cf25ac89fda9106fc589a350.tar.bz2 luafilesystem-e5f06c270ae0bdd4cf25ac89fda9106fc589a350.zip |
added extra include-dir to compile in ubuntu (#103)
-rw-r--r-- | config | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,7 +7,8 @@ PREFIX=/usr/local | |||
7 | LUA_LIBDIR= $(PREFIX)/lib/lua/5.1 | 7 | LUA_LIBDIR= $(PREFIX)/lib/lua/5.1 |
8 | 8 | ||
9 | # Lua includes directory | 9 | # Lua includes directory |
10 | LUA_INC= $(PREFIX)/include | 10 | LUA_INC += -I$(PREFIX)/include |
11 | LUA_INC += -I/usr/include/lua5.1 | ||
11 | 12 | ||
12 | # OS dependent | 13 | # OS dependent |
13 | LIB_OPTION= -shared #for Linux | 14 | LIB_OPTION= -shared #for Linux |
@@ -17,7 +18,7 @@ LIBNAME= $T.so.$V | |||
17 | 18 | ||
18 | # Compilation directives | 19 | # Compilation directives |
19 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic | 20 | WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic |
20 | INCS= -I$(LUA_INC) | 21 | INCS= $(LUA_INC) |
21 | CFLAGS= $(WARN) $(INCS) | 22 | CFLAGS= $(WARN) $(INCS) |
22 | CC= gcc | 23 | CC= gcc |
23 | 24 | ||