From: Jeremy Kerr Date: Fri, 28 Nov 2014 03:44:03 +0000 (+0800) Subject: test/parser: Add dependency on libpbcore.la X-Git-Tag: v1.0.0~91 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=46fbb1e1e33b130284ec211f9c647268ff709ba7 test/parser: Add dependency on libpbcore.la Currently, build only a test object will fail: [jk@pablo obj]$ make ./test/parser/test-grub2-single CCLD test/parser/test-grub2-single libtool: link: cannot find the library `lib/libpbcore.la' or unhandled argument `lib/libpbcore.la' We're adding this to the link argument, but not as a dependency. This change adds the dependency. Signed-off-by: Jeremy Kerr --- diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am index d24e720..eca4c0a 100644 --- a/test/parser/Makefile.am +++ b/test/parser/Makefile.am @@ -77,7 +77,7 @@ $(parser_TESTS): AM_CPPFLAGS += \ -I$(top_srcdir)/discover \ -DLOCAL_STATE_DIR='"$(localstatedir)"' $(parser_TESTS): LDADD += $@.embedded-config.o test/parser/libtest.ro $(core_lib) -$(parser_TESTS): %: %.embedded-config.o test/parser/libtest.ro +$(parser_TESTS): %: %.embedded-config.o test/parser/libtest.ro $(core_lib) extract_config = $(srcdir)/test/parser/extract-config.awk