aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/Makefile
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-27 00:04:14 +0200
committerKim Alvefur <zash@zash.se>2015-09-27 00:04:14 +0200
commit0941a2d8f4d0cd675c5b35f6da188bcf16eefb72 (patch)
tree23419da75d1c5afa00ac917b76ae587d26b88889 /util-src/Makefile
parent1ea718fb813a295219492f3a23d5f733bc71e5be (diff)
downloadprosody-0941a2d8f4d0cd675c5b35f6da188bcf16eefb72.tar.gz
prosody-0941a2d8f4d0cd675c5b35f6da188bcf16eefb72.zip
util-src/Makefile: Move Lua include path into CFLAGS variable
Diffstat (limited to 'util-src/Makefile')
-rw-r--r--util-src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-src/Makefile b/util-src/Makefile
index 8cf3b876..91c60d7f 100644
--- a/util-src/Makefile
+++ b/util-src/Makefile
@@ -9,7 +9,7 @@ OPENSSL_LIB?=crypto
CC?=gcc
CXX?=g++
LD?=gcc
-CFLAGS+=-ggdb
+CFLAGS+=-ggdb -I$(LUA_INCDIR)
INSTALL_DATA=install -m644
TARGET?=../util/
@@ -34,7 +34,7 @@ hashes.so: hashes.o
$(CC) -o $@ $< $(LDFLAGS) -l$(OPENSSL_LIB)
.c.o:
- $(CC) $(CFLAGS) -I$(LUA_INCDIR) -c -o $@ $<
+ $(CC) $(CFLAGS) -c -o $@ $<
.o.so:
$(LD) -o $@ $< $(LDFLAGS)