COMEDILIB_CFLAGS: Fix for separate build directory.
When doing an out-of-tree build, the comedi_version.h file is in the build tree, not in the source tree. The CFLAGS needs an additional -I option so the compiler can find it. Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
This commit is contained in:
parent
5d34786aba
commit
cf20e6af6b
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ AC_HEADER_STDC([])
|
|||
|
||||
AX_TLS
|
||||
|
||||
COMEDILIB_CFLAGS="$COMEDILIB_CFLAGS -I\$(top_srcdir)/include $COMEDILIB_DEBUG"
|
||||
COMEDILIB_CFLAGS="$COMEDILIB_CFLAGS -I\$(top_srcdir)/include -I\$(top_builddir)/include $COMEDILIB_DEBUG"
|
||||
COMEDILIB_LIBS="$COMEDILIB_LIBS \$(top_builddir)/lib/libcomedi.la -lm"
|
||||
AC_SUBST(COMEDILIB_CFLAGS)
|
||||
AC_SUBST(COMEDILIB_LIBS)
|
||||
|
|
Loading…
Add table
Reference in a new issue