From 96f06e9eed68e6d7ecd3cd15e56a5d928aa9ef5a Mon Sep 17 00:00:00 2001
From: Bogdan Bogush <bogdan.bogush@iopsys.eu>
Date: Thu, 25 Jan 2024 08:37:17 +0000
Subject: [PATCH] Add missing linking libraries for RDK

---
 res/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/res/Makefile b/res/Makefile
index 7e20f874f6..b8756b1753 100644
--- a/res/Makefile
+++ b/res/Makefile
@@ -26,8 +26,8 @@ ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
   res_agi.so_LIBS:= -lres_speech.so
 endif
 
-res_pjsip_pubsub.so: LIBS+=-lpicoevent
-res_pjsip_outbound_registration.so: LIBS+=-lpicoevent
+res_pjsip_pubsub.so: LIBS+=-lubus -lubox -lpicoevent
+res_pjsip_outbound_registration.so: LIBS+=-lubus -lubox -lpicoevent
 
 res_config_ldap.o: _ASTCFLAGS+=-DLDAP_DEPRECATED
 
-- 
GitLab