From 5c2c7d37c3bf8d789349eb5504da764091865413 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Thu, 19 Oct 2017 14:00:02 +0200 Subject: build: create clients/common/ when building libnmc_base library Fixes the following build error where gcc fails because the client/common does not exist yet: CC shared/nm-utils/clients_common_libnmc_base_la-nm-enum-utils.lo cc1: error: ./clients/common: No such file or directory [-Werror] cc1: all warnings being treated as errors make[4]: *** [shared/nm-utils/clients_common_libnmc_base_la-nm-enum-utils.lo] Error 1 # libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../shared -I./shared -I../libnm-core -I./libnm-core -I../libnm -I./libnm -I../clients/common -I./clients/common ... -c ../shared/nm-utils/nm-enum-utils.c -fPIC -DPIC -o shared/nm-utils/.libs/clients_common_libnmc_base_la-nm-enum-utils.o cc1: error: ./clients/common: No such file or directory [-Werror] Fixes: 3434261811b6edde77689983ac4c4e70cd2ca39a --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 1c26e00ac4..ed455746f5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3222,7 +3222,7 @@ clients_common_libnmc_base_la_LIBADD = \ $(GLIB_LIBS) $(clients_common_libnmc_base_la_OBJECTS): $(libnm_core_lib_h_pub_mkenums) - +$(clients_common_libnmc_base_la_OBJECTS): clients/common/.dirstamp clients_common_settings_doc_c = clients/common/settings-docs.c if HAVE_INTROSPECTION -- cgit v1.2.1