File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed
Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments