FS-6293: fix srcdir build for mod_opus

This commit is contained in:
Michael Jerris 2014-03-18 17:38:02 -04:00
parent e71a250bd9
commit 792530b744
1 changed files with 4 additions and 2 deletions

View File

@ -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)