From: Kamalesh Babulal Date: Sat, 19 Mar 2022 06:55:25 +0000 (+0530) Subject: Makefile: fix samples/c build dependency X-Git-Tag: v3.0~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0ac7d75a31057896a2af45a6ac76f308eab3867;p=thirdparty%2Flibcgroup.git Makefile: fix samples/c build dependency If the user chooses to build the samples/c programs, it will fail to build, with the error: config.status: creating samples/c/Makefile CC setuid.o make: *** No rule to make target '../../src/.libs/libcgroup.la', needed by 'setuid'. Stop. it is due to the dependency on libcgroup.la, which is currently built after samples. Fix it by moving the samples directory to be built after src directory. Signed-off-by: Kamalesh Babulal Signed-off-by: Tom Hromatka --- diff --git a/Makefile.am b/Makefile.am index 4fcd68b5..b7e3c67d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ AUTOMAKE_OPTIONS = foreign ACLOCAL_AMFLAGS= -I m4 -SUBDIRS = dist doc include samples scripts src tests +SUBDIRS = dist doc include scripts src tests samples EXTRA_DIST = README_daemon libcgroup.doxyfile README_systemd CONTRIBUTING.md