Browse Source

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
commit
e8771d309d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      daemon/Makefile

+ 7
- 0
daemon/Makefile View File

@ -37,6 +37,13 @@ ifneq (,$(wildcard ../bcg729/include/bcg729/decoder.h))
have_bcg729 := yes have_bcg729 := yes
bcg729_inc := -I../bcg729/include/ bcg729_inc := -I../bcg729/include/
bcg729_lib := -L../bcg729/src/ -lbcg729 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 endif
endif endif


Loading…
Cancel
Save