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.
pull/676/head
Yasin CANER 7 years ago committed by GitHub
parent 8c9febd7df
commit e8771d309d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save