Verified Commit 7304e328 authored by Ralph Giles's avatar Ralph Giles
Browse files

mingw: Build against openssl 1.0.2u.

Download the most recent working release of openssl.
- Enable asm, since it seems to work now.
- Link ssl and crypto libraries statically, since the
  dll target seems to be broken.

The 1.0.2 series of openssl releases is no longer supported.
However, 1.1.1 and later broke the hooks we were using to
reference the Windows certificate store, so this is also
the newest release where opusurl works.

As such, this shouldn't be used in production (unless you have a
support contract for openssl!) but it's a useful reference
configuration to have in the repository.

Hopefully a replacement api will be available in openssl 3 or 4
and we can port to that for future releases.
parent f24ad4cf
......@@ -11,8 +11,8 @@ ogg_SHA := c163bc12bc300c401b6aa35907ac682671ea376f13ae0969a220f7ddf71893fe
opus_URL :=
opus_SHA := 65b58e1e25b2a114157014736a3d9dfeaad8d41be1c8179866f144a2fb44ff9d
ssl_URL :=
ssl_SHA := ddb04774f1e32f0c49751e21b67216ac87852ceb056b75209af2443400636d46
ssl_URL :=
ssl_SHA := ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
all: $(DEPS)
......@@ -78,7 +78,7 @@ opus_BUILD: $(opus_DIR)
$(MAKE) -C $< install
ssl_BUILD: $(ssl_DIR)
cd $< && ./Configure shared mingw no-asm \
cd $< && ./Configure mingw \
--prefix=$(CURDIR) \
$(MAKE) -C $< depend
......@@ -94,8 +94,8 @@ $(DIST).zip: $(DIST)
zip -r $@ $</*
@echo $@ ready to go.
$(DIST): $(addprefix $(CURDIR)/bin/, libogg-0.dll libopus-0.dll libssl-1_1.dll)
cd .. && make install
$(DIST): $(addprefix $(CURDIR)/bin/, libogg-0.dll libopus-0.dll)
#cd .. && make install
mkdir -p $(DIST)
cp ../AUTHORS ../COPYING ../ ../include/opusfile.h $@
cp ../.libs/libopusfile-0.dll $@
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