From e8771d309da99d54098edc0b4fa5208a695f3d81 Mon Sep 17 00:00:00 2001 From: Yasin CANER Date: Sat, 15 Dec 2018 17:56:29 +0300 Subject: [PATCH] daemon makefile : added if statement for g729 added if condition for g729 codec . After installation bcg729 library from git repo , it helps to find right path. --- daemon/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/daemon/Makefile b/daemon/Makefile index d30a8caed..d706f893b 100644 --- a/daemon/Makefile +++ b/daemon/Makefile @@ -37,6 +37,13 @@ ifneq (,$(wildcard ../bcg729/include/bcg729/decoder.h)) have_bcg729 := yes bcg729_inc := -I../bcg729/include/ bcg729_lib := -L../bcg729/src/ -lbcg729 +else +# /usr/local/include when installing from git +ifneq (,$(wildcard /usr/local/include/bcg729/decoder.h)) +have_bcg729 := yes +bcg729_inc := -I/usr/local/include/ +bcg729_lib := -L/usr/local/lib64/ -lbcg729 +endif endif endif endif