1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 20:00:19 +02:00

Fix in-tree builds

* libguile/Makefile.am (AM_CPPFLAGS): Use -iquote for $(builddir)
  instead of -I, to avoid having in-tree builds find libguile/poll.h for
  <poll.h>.
This commit is contained in:
Andy Wingo 2018-08-23 10:47:00 +02:00
parent fd1deab3c3
commit 065efdd101

View file

@ -37,7 +37,7 @@ DEFAULT_INCLUDES =
## <libguile/MUMBLE.h> will find MUMBLE.h in this dir when we're
## building. Also look for Gnulib headers in `lib'.
AM_CPPFLAGS = -DBUILDING_LIBGUILE=1 -I$(top_srcdir) -I$(top_builddir) \
-I$(top_srcdir)/lib -I$(top_builddir)/lib -I$(builddir) \
-I$(top_srcdir)/lib -I$(top_builddir)/lib -iquote$(builddir) \
$(LIBFFI_CFLAGS)
if ENABLE_JIT