[PATCH] libs: Add linking dependency for libmodechk
Vitaly Chikunov
vt at altlinux.org
Sun Sep 20 21:21:18 CEST 2020
When building Cobalt core ALT rpmbuild QA script detects that libmodechk
is linked improperly:
verify-elf: ERROR: ./usr/lib64/libmodechk.so.0.0.0: undefined symbol: cobalt_assert_nrt
Signed-off-by: Vitaly Chikunov <vt at altlinux.org>
---
lib/cobalt/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/cobalt/Makefile.am b/lib/cobalt/Makefile.am
index 5230a38ec..ae408b863 100644
--- a/lib/cobalt/Makefile.am
+++ b/lib/cobalt/Makefile.am
@@ -42,6 +42,8 @@ libcobalt_la_CPPFLAGS = \
-I$(top_srcdir)/include/cobalt \
-I$(top_srcdir)/include
+libmodechk_la_LIBADD = libcobalt.la
+
libmodechk_la_SOURCES = \
malloc.c \
malloc-nowrap.c
--
2.21.0
More information about the Xenomai
mailing list