]> granicus.if.org Git - graphviz/commitdiff
fix out of source build error in lib/expr
authorCosta Shulyupin <constantine.shulyupin@gmail.com>
Thu, 10 Mar 2022 07:47:14 +0000 (09:47 +0200)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 12 Mar 2022 20:12:36 +0000 (12:12 -0800)
make[3]: Entering directory '/home/costa/oss/graphviz/build/lib/expr'
  CC       excc.lo
In file included from ../../../lib/expr/expr.h:28,
                 from ../../../lib/expr/exlib.h:126,
                 from ../../../lib/expr/excc.c:25:
../../../lib/expr/exparse.h:4:10: fatal error: expr/y.tab.h: No such file or directory
    4 | #include <expr/y.tab.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.

lib/expr/Makefile.am

index 7e07b9a3cc4047e051692f394d2af6a062d9d8fb..dd0d5b61cb55e2c3c97104b4fe8f9e50ee00a675 100644 (file)
@@ -7,6 +7,7 @@ pkgconfigdir = $(libdir)/pkgconfig
 
 AM_CPPFLAGS = \
        -I$(top_srcdir)/lib \
+       -I$(top_builddir)/lib \
        -I$(top_srcdir)/lib/cdt
 
 noinst_HEADERS = exgram.h exlib.h exop.h exparse.h expr.h