summaryrefslogtreecommitdiff
path: root/luaext
diff options
context:
space:
mode:
Diffstat (limited to 'luaext')
-rw-r--r--luaext/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/luaext/Makefile.am b/luaext/Makefile.am
index 3f63c62a8..41ec9ede9 100644
--- a/luaext/Makefile.am
+++ b/luaext/Makefile.am
@@ -5,8 +5,7 @@ EXTRA_DIST = \
userconfig.c \
linit.lua
-AM_CPPFLAGS = -I$(top_builddir)
-AM_CPPFLAGS += -I$(srcdir)/include -I.
+AM_CPPFLAGS = -I$(top_builddir) -I$(top_builddir)/include -I.
libluaext_la_CPPFLAGS = $(AM_CPPFLAGS) -DWITH_POSIX
libluaext_la_LIBADD = @WITH_LUA_LIB@