[Libosinfo] [libosinfo] build: Use EXTRA_..._DEPENDENCIES rather than _DEPENDENCIES

Christophe Fergeau cfergeau at redhat.com
Wed Nov 21 16:26:56 UTC 2018


This allows us to use the dependencies automatically generated by
automake while appending the additional one that we need.

https://www.gnu.org/software/automake/manual/automake.html#index-EXTRA_005fmaude_005fDEPENDENCIES-1

« The EXTRA_*_DEPENDENCIES variable may be useful for cases where you
merely want to augment the automake-generated _DEPENDENCIES variable
rather than replacing it. »

Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
---
 osinfo/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/osinfo/Makefile.am b/osinfo/Makefile.am
index 5749c597..a9a65427 100644
--- a/osinfo/Makefile.am
+++ b/osinfo/Makefile.am
@@ -36,7 +36,7 @@ libosinfo_1_0_la_LDFLAGS = \
         -version-info $(LIBOSINFO_VERSION_INFO) \
 	$(NO_UNDEFINED_FLAGS)
 
-libosinfo_1_0_la_DEPENDENCIES = libosinfo.syms libosinfo-impl.la
+EXTRA_libosinfo_1_0_la_DEPENDENCIES = libosinfo.syms
 
 noinst_LTLIBRARIES = libosinfo-impl.la
 
-- 
2.19.1




More information about the Libosinfo mailing list