Verified Commit a0c91360 authored by Ralph Giles's avatar Ralph Giles
Browse files

mingw: Build autotools opusfile in a subdirectory.

Invoking ../configure from the mingw directory would clobber
the mingw-specific Makefile, which is confusing. Instead
have the `make opusfile` target invoke the autotools build
within a subdirectory.
parent 7304e328
......@@ -23,9 +23,10 @@ libopusfile-0.dll: ../unix/Makefile $(DEPS)
$(MAKE) -f $<
opusfile: $(DEPS)
../configure --host=$(TOOL_PREFIX) --prefix=$(CURDIR) \
$(MKDIR) $@
cd $@ && ../configure --host=$(TOOL_PREFIX) --prefix=$(CURDIR) \
$(MAKE) -C $@
$(RM) -r objs
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment