--- src/components/mc/cuda/Makefile.am.orig     2024-04-30 11:14:13.337136824 +0200
+++ src/components/mc/cuda/Makefile.am  2024-04-30 11:15:03.166877471 +0200
@@ -14,6 +14,7 @@
 libucc_mc_cuda_la_CFLAGS   = $(BASE_CFLAGS)
 libucc_mc_cuda_la_LDFLAGS  = -version-info $(SOVERSION) --as-needed $(CUDA_LDFLAGS)
 libucc_mc_cuda_la_LIBADD   = $(CUDA_LIBS)                      \
+                            -lucc \
                              $(UCC_TOP_BUILDDIR)/src/libucc.la

 include $(top_srcdir)/config/module.am

--- src/components/mc/cuda/Makefile.am.orig	2024-04-30 11:14:13.337136824 +0200
+++ src/components/mc/cuda/Makefile.am	2024-04-30 11:15:03.166877471 +0200
@@ -14,6 +14,7 @@
 libucc_mc_cuda_la_CFLAGS   = $(BASE_CFLAGS)
 libucc_mc_cuda_la_LDFLAGS  = -version-info $(SOVERSION) --as-needed $(CUDA_LDFLAGS)
 libucc_mc_cuda_la_LIBADD   = $(CUDA_LIBS)                      \
+			     -lucc \
                              $(UCC_TOP_BUILDDIR)/src/libucc.la
 
 include $(top_srcdir)/config/module.am
