Skip to content
Snippets Groups Projects
Commit f358633e authored by Ralph Giles's avatar Ralph Giles
Browse files

mingw: Add a Dockerfile describing cross build.

For some reason, when I cross-compile opusfile on Fedora 23,
I get example binaries with exit immediately without error.

Building them on Fedora 20 (in a docker container) produced
working binaries. Until we figure out what the bug is, include
this for convenience.

The build doesn't actually work because of the 'make check'
steps in the Makefile, which require wine.
parent 859adbeb
No related branches found
No related tags found
No related merge requests found
FROM fedora:20
MAINTAINER opus@xiph.org
# Linux build.
RUN yum update -y
RUN yum install -y git gcc make wget
RUN yum install -y autoconf automake libtool
# mingw cross build.
RUN yum install -y mingw32-gcc zip
RUN yum clean all
RUN git clone https://git.xiph.org/opusfile.git
WORKDIR opusfile
RUN git pull
RUN make -C mingw
RUN ./configure --host=i686-w64-mingw32 --prefix=${PWD}/mingw PKG_CONFIG_PATH=${PWD}/mingw/lib/pkgconfig && make && make check && make install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment