Skip to content

Commit 10cca10

Browse files
added custom ssl for 5.9.7 and 5.9.8
1 parent 3079dc9 commit 10cca10

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

buildconfig/configure-5.9.7.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
11
#!/bin/sh
2-
../configure -prefix $QT_PREFIX -opensource -confirm-license -nomake examples -nomake tests -qt-xcb
2+
set -e
3+
set -x
4+
CORE_COUNT=$1
5+
# adding compatible ssl version
6+
git clone https://github.com/openssl/openssl.git
7+
cd openssl
8+
git checkout OpenSSL_1_0_2-stable
9+
LATEST_TAG=$(git describe --match "OpenSSL_1_0_2[a-z]*" --abbrev=0)
10+
git checkout $LATEST_TAG
11+
./config --prefix=/opt/openssl_build_stable -shared > /dev/null 2>&1 || ./config --prefix=/opt/openssl_build_stable -shared
12+
make -j$CORE_COUNT > /dev/null 2>&1 || make -j$CORE_COUNT
13+
make test > /dev/null 2>&1 || make test
14+
make install > /dev/null 2>&1 || make install
15+
cd ..
16+
OPENSSL_LIBS='-L/opt/openssl_build_stable/lib -lssl -lcrypto' ../configure -prefix $QT_PREFIX -opensource -confirm-license -nomake examples -nomake tests -qt-xcb -openssl-linked -I /opt/openssl_build_stable/include -L /opt/openssl_build_stable/lib
17+
mkdir /opt/extra-dependencies/opt
18+
cp -r /opt/openssl_build_stable /opt/extra-dependencies/opt

buildconfig/configure-5.9.8.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
11
#!/bin/sh
2-
../configure -prefix $QT_PREFIX -opensource -confirm-license -nomake examples -nomake tests -qt-xcb
2+
set -e
3+
set -x
4+
CORE_COUNT=$1
5+
# adding compatible ssl version
6+
git clone https://github.com/openssl/openssl.git
7+
cd openssl
8+
git checkout OpenSSL_1_0_2-stable
9+
LATEST_TAG=$(git describe --match "OpenSSL_1_0_2[a-z]*" --abbrev=0)
10+
git checkout $LATEST_TAG
11+
./config --prefix=/opt/openssl_build_stable -shared > /dev/null 2>&1 || ./config --prefix=/opt/openssl_build_stable -shared
12+
make -j$CORE_COUNT > /dev/null 2>&1 || make -j$CORE_COUNT
13+
make test > /dev/null 2>&1 || make test
14+
make install > /dev/null 2>&1 || make install
15+
cd ..
16+
OPENSSL_LIBS='-L/opt/openssl_build_stable/lib -lssl -lcrypto' ../configure -prefix $QT_PREFIX -opensource -confirm-license -nomake examples -nomake tests -qt-xcb -openssl-linked -I /opt/openssl_build_stable/include -L /opt/openssl_build_stable/lib
17+
mkdir /opt/extra-dependencies/opt
18+
cp -r /opt/openssl_build_stable /opt/extra-dependencies/opt

0 commit comments

Comments
 (0)