Module: kamailio
Branch: master
Commit: 0a3476384b325514b1da784b74cc821360193409
URL: 
https://github.com/kamailio/kamailio/commit/0a3476384b325514b1da784b74cc821360193409

Author: drTr0jan <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2022-01-20T12:27:09+01:00

websocket: Makefile - support for FreeBSD build

- updated LIBS and DEFS variables, making them consistent with
the rest of modules.

---

Modified: src/modules/websocket/Makefile

---

Diff:  
https://github.com/kamailio/kamailio/commit/0a3476384b325514b1da784b74cc821360193409.diff
Patch: 
https://github.com/kamailio/kamailio/commit/0a3476384b325514b1da784b74cc821360193409.patch

---

diff --git a/src/modules/websocket/Makefile b/src/modules/websocket/Makefile
index f74003225b..764453b080 100644
--- a/src/modules/websocket/Makefile
+++ b/src/modules/websocket/Makefile
@@ -39,7 +39,8 @@ endif
 LIBS+= $(TLS_EXTRA_LIBS)
 
 ifeq ($(EMBEDDED_UTF8_DECODE),0)
-       LIBS+= -lunistring
+       DEFS += -I$(LOCALBASE)/include
+       LIBS += -lunistring
 else
        DEFS += -DEMBEDDED_UTF8_DECODE
 endif


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to