diff options
author | Kıvanç Çakmak <kivanccakmak@gmail.com> | 2017-11-30 01:12:28 +0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2017-11-30 01:12:28 +0300 |
commit | e5f06c270ae0bdd4cf25ac89fda9106fc589a350 (patch) | |
tree | a1593c61d2a522ca38b1f2e68e30cbdb390fc899 | |
parent | 884b52a3b29661a10e183daf4cea7a37698f404b (diff) |
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 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 |