From 5de4826728a588300f0c02855e1fc54c5cf4e51d Mon Sep 17 00:00:00 2001 From: Pius Raeder Date: Tue, 5 Mar 2019 15:21:00 +0100 Subject: [PATCH] Locate packcc in build directory instead of the source This should fix a Out-of-source or nested build. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index b3cc48a061..0576d40862 100644 --- a/Makefile.am +++ b/Makefile.am @@ -134,7 +134,7 @@ endif packcc_verbose = $(packcc_verbose_@AM_V@) packcc_verbose_ = $(packcc_verbose_@AM_DEFAULT_V@) packcc_verbose_0 = @echo PACKCC " $@"; -PACKCC = $(srcdir)/packcc$(EXEEXT) +PACKCC = $(top_builddir)/packcc$(EXEEXT) SUFFIXES += .peg .peg.c: $(packcc_verbose)$(PACKCC) $<