From 61fe7ec5c4de7e82b6ea3b34221d4b946d32bc9c Mon Sep 17 00:00:00 2001
From: Sergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>
Date: Thu, 18 Nov 2021 17:11:15 +0100
Subject: [PATCH] Introduce common LDADD in the 'app'.

---
 app/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/Makefile.am b/app/Makefile.am
index a6e23c487..4046f7237 100644
--- a/app/Makefile.am
+++ b/app/Makefile.am
@@ -20,14 +20,14 @@ if ENABLE_ALL_STATIC
 AM_LDFLAGS += -all-static
 endif
 
+LDADD = $(top_builddir)/src/libcdi.la $(LIBS)
+
 cdi_SOURCES = \
   cdi.c \
   printinfo.c \
   printinfo.h
-cdi_LDADD = $(top_builddir)/src/libcdi.la $(LIBS)
 
 createtable_SOURCES = createtable.c
-createtable_LDADD = $(top_builddir)/src/libcdi.la
 
 clean-local:
 	-rm -rf *.dSYM
-- 
GitLab