Module: kamailio
Branch: master
Commit: a2468e66f530822094569cf847796d91b17d4be9
URL:
https://github.com/kamailio/kamailio/commit/a2468e66f530822094569cf847796d9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-10-31T14:54:54+01:00
secsipid_proc: Makefile - look for secsipid include and libs in localbase
- done when pkg-config cannot find libsecsipid install details
---
Modified: src/modules/secsipid_proc/Makefile
---
Diff:
https://github.com/kamailio/kamailio/commit/a2468e66f530822094569cf847796d9…
Patch:
https://github.com/kamailio/kamailio/commit/a2468e66f530822094569cf847796d9…
---
diff --git a/src/modules/secsipid_proc/Makefile b/src/modules/secsipid_proc/Makefile
index 259766b151a..f3997dfe115 100644
--- a/src/modules/secsipid_proc/Makefile
+++ b/src/modules/secsipid_proc/Makefile
@@ -18,8 +18,8 @@ endif
endif
ifeq ($(BUILDER),)
- DEFS+= -I.
- LIBS = -L. -lsecsipid -lpthread
+ DEFS +=-I$(LOCALBASE)/include -I$(SYSBASE)/include
+ LIBS +=-L$(LOCALBASE)/lib -L$(SYSBASE)/lib -lsecsipid -lpthread
else
DEFS+= $(shell pkg-config --cflags secsipid-1)
LIBS = $(shell pkg-config --libs secsipid-1) -lpthread