diff options
author | Andreas Schwab <schwab@suse.de> | 2020-02-24 16:30:59 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-03-10 18:23:13 -0400 |
commit | 26b483b4d5dc180c8334a0adad3c92e23605010e (patch) | |
tree | 5ffd90d718387c1e7ffe1460836b037e8791e098 /configure.ac | |
parent | 3fb32e45dbde214d7bd05da51fd0a9d6abfb8265 (diff) | |
download | libseccomp-26b483b4d5dc180c8334a0adad3c92e23605010e.tar.gz |
build: fix building outside source directory
Move -I${top_builddir}/include to toplevel so that it is available in all
subdirs. This is needed to find <seccomp.h> in the build directory, since
it is now a generated file.
Signed-off-by: Andreas Schwab <schwab@suse.de>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7d80b40..e8b77f2 100644 --- a/configure.ac +++ b/configure.ac @@ -66,7 +66,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) dnl #### dnl build flags dnl #### -AM_CPPFLAGS="-I\${top_srcdir}/include" +AM_CPPFLAGS="-I\${top_srcdir}/include -I\${top_builddir}/include" AM_CFLAGS="-Wall" AM_LDFLAGS="-Wl,-z -Wl,relro" AC_SUBST([AM_CPPFLAGS]) |