]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
bindings: Add include path to gcc command
authorTom Hromatka <tom.hromatka@oracle.com>
Fri, 20 Jan 2023 16:47:58 +0000 (09:47 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 20 Jan 2023 16:47:58 +0000 (09:47 -0700)
Add the path to the include files when invoking gcc.  This
caused `make distcheck` to fail

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
src/bindings/Makefile.am

index d7e32bcd8848411843362186e4a84f776937e85a..6edc4f7c9b7c12c0d3710427890dad4733477b50 100644 (file)
@@ -11,5 +11,5 @@ SWIG=swig
 
 libcgroup.c: libcgroup.p $(top_srcdir)/include/libcgroup.h
        cp libcgroup.p libcgroup.i
-       $(CC) $(INCLUDES) -DSWIG -E $(top_srcdir)/include/libcgroup.h >> libcgroup.i
+       $(CC) $(INCLUDES) -DSWIG -E $(top_srcdir)/include/libcgroup.h -I$(top_srcdir)/include >> libcgroup.i
        $(SWIG) -python -o libcgroup.c libcgroup.i