8e1f61e69f
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28682 3c298f89-4303-0410-b956-a3cf2f4a3e73
19 lines
695 B
Diff
19 lines
695 B
Diff
--- a/src/mod/codecs/mod_opus/Makefile
|
|
+++ b/src/mod/codecs/mod_opus/Makefile
|
|
@@ -13,13 +13,14 @@ SILK_LA=$(OPUS_BUILDDIR)/silk/libSKP_SIL
|
|
LOCAL_LIBADD=$(IETF_LA) $(CELT_LA) $(SILK_LA) -lm -lz
|
|
|
|
include $(BASE)/build/modmake.rules
|
|
+include $(BASE)/build/openwrt_rules.mk
|
|
|
|
$(OPUS_DIR):
|
|
$(GETLIB) $(OPUS).tar.gz
|
|
|
|
$(OPUS_BUILDDIR)/Makefile: $(OPUS_DIR)
|
|
mkdir -p $(OPUS_BUILDDIR)
|
|
- 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)
|
|
|
|
$(IETF_LA): $(OPUS_BUILDDIR)/Makefile
|