From: Michael Jerris Date: Tue, 18 Mar 2014 21:38:02 +0000 (-0400) Subject: FS-6293: fix srcdir build for mod_opus X-Git-Tag: v1.5.12~431 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=792530b7443d9ce0f68a123bc62aadb7fc510337;p=thirdparty%2Ffreeswitch.git FS-6293: fix srcdir build for mod_opus --- diff --git a/src/mod/codecs/mod_opus/Makefile.am b/src/mod/codecs/mod_opus/Makefile.am index 0ce58aa347..af1b6b14c7 100644 --- a/src/mod/codecs/mod_opus/Makefile.am +++ b/src/mod/codecs/mod_opus/Makefile.am @@ -15,12 +15,14 @@ BUILT_SOURCES=$(OPUS_LA) $(OPUS_DIR): $(GETLIB) $(OPUS).tar.gz -$(OPUS_DIR)/Makefile: $(OPUS_DIR) +$(OPUS_BUILDDIR)/Makefile: $(OPUS_DIR) + mkdir -p $(OPUS_BUILDDIR) cd $(OPUS_BUILDDIR) && $(DEFAULT_VARS) $(OPUS_DIR)/configure --disable-shared --with-pic --srcdir=$(OPUS_DIR) $(TOUCH_TARGET) -$(OPUS_LA): $(OPUS_DIR)/Makefile +$(OPUS_LA): $(OPUS_BUILDDIR)/Makefile cd $(OPUS_BUILDDIR) && $(MAKE) + $(TOUCH_TARGET) $(MODNAME).lo: $(OPUS_LA)