aboutsummaryrefslogtreecommitdiffstats
path: root/build-scripts/build-mac
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-25 01:31:09 +0200
committerJay Berkenbilt <ejb@ql.org>2020-10-25 23:06:16 +0100
commit4e8d21d849dc4c562d02c4aa22683296cbd314f7 (patch)
tree3cd6beac7fecc761c9404bcefff0ab0a8365e638 /build-scripts/build-mac
parent026330ebcdbef825a340eb04915483573b3c8be2 (diff)
downloadqpdf-4e8d21d849dc4c562d02c4aa22683296cbd314f7.tar.zst
Build Windows releases with openssl; automate external libraries
External libraries for Windows are now built automatically in the qpdf/external-libs repository and include openssl in addition to zlib and jpeg. Use these, and update the Windows build to build with the openssl crypto provider by default. We leave the native crypto provider enabled in case there is a problem with openssl and also to continue to exercise that code.
Diffstat (limited to 'build-scripts/build-mac')
-rwxr-xr-xbuild-scripts/build-mac7
1 files changed, 4 insertions, 3 deletions
diff --git a/build-scripts/build-mac b/build-scripts/build-mac
index 96d900bb..eb41f817 100755
--- a/build-scripts/build-mac
+++ b/build-scripts/build-mac
@@ -1,8 +1,9 @@
#!/bin/bash
set -ex
-curl -L https://github.com/qpdf/qpdf/raw/external-libs/jpegsrc.v9c.tar.gz -o jpegsrc.v9c.tar.gz
-tar xzf jpegsrc.v9c.tar.gz
-cd jpeg-9c
+cd $(dirname $0)/..
+unzip qpdf-external-libs-src.zip
+tar xzf external-libs-src/jpegsrc*
+cd jpeg-*
./configure
make -k
sudo make install