From bbce089840e9b85808e01a5e0c265d3fa3186e61 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Thu, 23 Mar 2017 17:30:05 +0100 Subject: [PATCH] cli/build: drop $builddir/cli/ from the include path The sources should reach files in the $builddir using #include "". Besides, it is not guarranteed to be around: CC shared/clients_cli_nmcli-nm-setting-metadata.o cc1: error: ./clients/cli: No such file or directory [-Werror=missing-include-dirs] cc1: all warnings being treated as errors Makefile:12971: recipe for target 'shared/clients_cli_nmcli-nm-setting-metadata.o' failed --- Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index e231049f2f..ba551d1571 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3067,7 +3067,6 @@ clients_cli_nmcli_CPPFLAGS = \ -I$(srcdir)/libnm \ -I$(builddir)/libnm \ -I$(srcdir)/clients/cli \ - -I$(builddir)/clients/cli \ -I$(srcdir)/clients/common \ $(GLIB_CFLAGS) \ -DG_LOG_DOMAIN=\""nmcli"\" \