From b7593aea27dfb028d4c4219b90f09f00311219bc Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Tue, 16 Aug 2022 19:48:44 +0000 Subject: [PATCH] build: automake: use top_srcdir as needed --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index c9504c8..50b88ba 100644 --- a/Makefile.am +++ b/Makefile.am @@ -167,7 +167,7 @@ pkgconf_SOURCES = \ cli/main.c \ cli/getopt_long.c \ cli/renderer-msvc.c -pkgconf_CPPFLAGS = -Ilibpkgconf -Icli +pkgconf_CPPFLAGS = -I$(top_srcdir)/libpkgconf -I$(top_srcdir)/cli noinst_HEADERS = \ cli/getopt_long.h \ cli/renderer-msvc.h @@ -176,7 +176,7 @@ bomtool_LDADD = libpkgconf.la bomtool_SOURCES = \ cli/bomtool/main.c \ cli/getopt_long.c -bomtool_CPPFLAGS = -Ilibpkgconf -Icli -Icli/bomtool +bomtool_CPPFLAGS = -I$(top_srcdir)/libpkgconf -I$(top_srcdir)/cli -I$(top_srcdir)/cli/bomtool dist_doc_DATA = README.md AUTHORS