From d1fdb14a8a0bc180668ba12b9a6ff97744edce8f Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Sat, 17 Mar 2018 16:32:25 +0100 Subject: build: Programs are not implicitly depending on libraries Before that change, it was possible for 'make' to try linking programs before 'src/libmcron.a' was built. * Makefile.am (bin_mcron_DEPENDENCIES, bin_cron_DEPENDENCIES) (bin_crontab_DEPENDENCIES): Add '$(noinst_LIBRARIES)'. --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index cb43143..1e953c6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -39,13 +39,13 @@ AM_CFLAGS = @GUILE_CFLAGS@ LDADD = @GUILE_LIBS@ src/libmcron.a bin_mcron_SOURCES = src/mcron.c -bin_mcron_DEPENDENCIES = $(compiled_modules) +bin_mcron_DEPENDENCIES = $(compiled_modules) $(noinst_LIBRARIES) bin_cron_SOURCES = src/cron.c -bin_cron_DEPENDENCIES = $(compiled_modules) +bin_cron_DEPENDENCIES = $(compiled_modules) $(noinst_LIBRARIES) bin_crontab_SOURCES = src/crontab.c -bin_crontab_DEPENDENCIES = $(compiled_modules) +bin_crontab_DEPENDENCIES = $(compiled_modules) $(noinst_LIBRARIES) # wrapper to be used in the build environment and for running tests. noinst_SCRIPTS = pre-inst-env -- cgit v1.2.3