diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2018-03-17 16:32:25 +0100 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2018-03-17 16:37:42 +0100 |
commit | d1fdb14a8a0bc180668ba12b9a6ff97744edce8f (patch) | |
tree | f6e19aa891be1851b85c44188317a048f24331b5 | |
parent | 2b9b54b72938144320e1a1285b011182a3c52ac4 (diff) | |
download | mcron-d1fdb14a8a0bc180668ba12b9a6ff97744edce8f.tar.gz mcron-d1fdb14a8a0bc180668ba12b9a6ff97744edce8f.tar.bz2 mcron-d1fdb14a8a0bc180668ba12b9a6ff97744edce8f.zip |
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)'.
-rw-r--r-- | Makefile.am | 6 |
1 files 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 |