aboutsummaryrefslogtreecommitdiffstats
path: root/util-src
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
commitb8d80dfd493c62d7e7ab1ce2f05016e142d263f6 (patch)
tree23419da75d1c5afa00ac917b76ae587d26b88889 /util-src
parent9234cc7541ff4a627657bcacd8e04a10fc68e13e (diff)
downloadprosody-b8d80dfd493c62d7e7ab1ce2f05016e142d263f6.tar.gz
prosody-b8d80dfd493c62d7e7ab1ce2f05016e142d263f6.zip
util-src/Makefile: Move Lua include path into CFLAGS variable
Diffstat (limited to 'util-src')
-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)