packages/net/freeswitch/patches/202-src-mod-codecs-mod_opus-Makefile.patch
mazilo fb2956f426 updated to FS git HEAD 5e3a6fc5e6f40be5d68c8b3cfbbfa3227fe06c2f
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 14:25:52 +00:00

18 lines
627 B
Diff

--- a/src/mod/codecs/mod_opus/Makefile
+++ b/src/mod/codecs/mod_opus/Makefile
@@ -12,12 +12,13 @@ OPUS_LA=$(OPUS_BUILDDIR)/.libs/libopus.l
LOCAL_LIBADD=$(OPUS_LA)
include $(BASE)/build/modmake.rules
+include $(BASE)/build/openwrt_rules.mk
$(OPUS_DIR):
$(GETLIB) $(OPUS).tar.gz
$(OPUS_DIR)/Makefile: $(OPUS_DIR)
- cd $(OPUS_BUILDDIR) && $(DEFAULT_VARS) $(OPUS_DIR)/configure --disable-shared --with-pic --srcdir=$(OPUS_DIR)
+ cd $(OPUS_BUILDDIR) && $(DEFAULT_VARS) $(OPUS_DIR)/configure --host=$(GNU_TARGET_NAME) --disable-shared --with-pic --srcdir=$(OPUS_DIR)
$(TOUCH_TARGET)
$(OPUS_LA): $(OPUS_DIR)/Makefile