[sr-dev] git:master:cda05478: rtp_media_server: Makefile - support for FreeBSD build

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


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

Author: drTr0jan <drtr0jan at yandex.ru>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-01-20T12:27:09+01:00

rtp_media_server: Makefile - support for FreeBSD build

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

---

Modified: src/modules/rtp_media_server/Makefile

---

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

---

diff --git a/src/modules/rtp_media_server/Makefile b/src/modules/rtp_media_server/Makefile
index 5386a3065a..18645c209a 100644
--- a/src/modules/rtp_media_server/Makefile
+++ b/src/modules/rtp_media_server/Makefile
@@ -2,11 +2,11 @@ include ../../Makefile.defs
 auto_gen=
 NAME=rtp_media_server.so
 
-DEFS+=-I$(LOCALBASE)/lib
+DEFS+=-I$(LOCALBASE)/include
 
 ORTPLIBS=-lortp
 BCUNITLIBS=-lbcunit
 MS2LIBS=-lmediastreamer
 
-LIBS=$(ORTPLIBS) $(BCUNITLIBS) $(MS2LIBS)
+LIBS+=-L$(LOCALBASE)/lib $(ORTPLIBS) $(BCUNITLIBS) $(MS2LIBS)
 include ../../Makefile.modules




More information about the sr-dev mailing list