1d4341e1411224f715f4656fd8d2131a0af50fad
[packages.git] / net / freeswitch / patches / 203-src-mod-codecs-mod_silk-Makefile.patch
1 --- a/src/mod/codecs/mod_silk/Makefile
2 +++ b/src/mod/codecs/mod_silk/Makefile
3 @@ -1,4 +1,5 @@
4  BASE=../../../..
5 +include $(BASE)/build/openwrt_rules.mk
6  SILK_DIR=$(switch_srcdir)/libs/silk
7  SILK_BUILDDIR=$(switch_builddir)/libs/silk
8  LOCAL_CFLAGS=-I$(SILK_DIR)/src  -I$(SILK_DIR)/interface
9 @@ -8,5 +9,5 @@ LOCAL_OBJS=$(BASE)/libs/stfu/stfu.o
10  include $(BASE)/build/modmake.rules
11  
12  $(SILK_LA): $(SILK_DIR)/.update        
13 -       cd $(SILK_BUILDDIR) && ./configure --disable-shared && make clean && $(MAKE)
14 +       cd $(SILK_BUILDDIR) && ./configure --host=$(GNU_TARGET_NAME) --disable-shared && make clean && $(MAKE)
15         $(TOUCH_TARGET)