Fix include path of luaext subdir
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 27 Jan 2010 13:06:05 +0000 (15:06 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 27 Jan 2010 13:23:46 +0000 (15:23 +0200)
luaext/Makefile.am

index 3f63c62..41ec9ed 100644 (file)
@@ -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@