asterisk-1.8.x: fix up asterisk dependency for lantiq modules
[feed/telephony.git] / net / freeswitch / patches / 1114000-libs-libcodec2-src-Makefile_am.patch
1 --- a/libs/libcodec2/src/Makefile.am
2 +++ b/libs/libcodec2/src/Makefile.am
3 @@ -88,6 +88,12 @@ codebookge.$(OBJEXT): codebookge.c
4  
5  codebook.lo: codebook.c
6  
7 +generate_codebook:
8 +       $(CC_FOR_BUILD) -o generate_codebook generate_codebook.c -lm
9 +
10 +genlspdtcb:
11 +       $(CC_FOR_BUILD) -o genlspdtcb genlspdtcb.c -lm
12 +
13  codebook.c: generate_codebook $(CODEBOOKS)
14         ./generate_codebook lsp_cb $(CODEBOOKS) > codebook.c
15