[sr-dev] git:master:0a347638: websocket: Makefile - support for FreeBSD build

Daniel-Constantin Mierla miconda at gmail.com
Thu Jan 20 12:27:16 CET 2022


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

Author: drTr0jan <drtr0jan at yandex.ru>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
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




More information about the sr-dev mailing list