summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--lem.pc.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5eb6e37..d1efe9d 100644
--- a/Makefile
+++ b/Makefile
@@ -86,7 +86,7 @@ config.h: config.$(OS)
lem.pc: lem.pc.in
$E ' SED $@'
- $Q$(SED) -e 's|@PATH@|$(LUA_PATH)|;s|@CPATH@|$(LUA_CPATH)|;s|@LIB_INCLUDES@|$(LIB_INCLUDES)|' $< > $@
+ $Q$(SED) -e 's|@PATH@|$(LUA_PATH)|;s|@CPATH@|$(LUA_CPATH)|;s|@INCDIR@|$(INCDIR)|;s|@LIB_INCLUDES@|$(LIB_INCLUDES)|' $< > $@
%.pic.o: %.c config.h
$E ' CC $@'
diff --git a/lem.pc.in b/lem.pc.in
index 046bd00..2c2b57a 100644
--- a/lem.pc.in
+++ b/lem.pc.in
@@ -1,5 +1,6 @@
path=@PATH@
cpath=@CPATH@
+incdir=@INCDIR@
Name: lem
Description: A Lua Event Machine