Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit d851877

Browse files
committed
create extra cryptopp symlinks
1 parent 2d874d5 commit d851877

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tools/appserver/dockerbuild/install.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ export QPMX_CACHE_DIR=/tmp/qpmx-cache
66

77
DS_NAME=qdsappd
88
QT_VERSION=5.11.0
9-
CRYPTOPP_VERSION=7_0_0
9+
CRYPTOPP_VERSION_MAJOR=7
10+
CRYPTOPP_VERSION_MINOR=0
11+
CRYPTOPP_VERSION_PATCH=0
12+
CRYPTOPP_VERSION=${CRYPTOPP_VERSION_MAJOR}_${CRYPTOPP_VERSION_MINOR}_${CRYPTOPP_VERSION_PATCH}
1013
MAIN_DEP="libressl zlib dbus-libs glib libgcc libstdc++ libpcre2-16 libpq ca-certificates eudev-libs eudev libpcre2-16"
1114
DEV_DEP="libressl-dev zlib-dev dbus-dev glib-dev perl eudev-dev gawk pcre2-dev postgresql-dev linux-headers make gcc g++ curl python3 git"
1215

@@ -94,7 +97,10 @@ CXXFLAGS="$CXXFLAGS -DNDEBUG -fPIC" make dynamic
9497
make install PREFIX="/usr"
9598
install -m644 "/tmp/src/tools/appserver/dockerbuild/libcrypto++.pc" "/usr/lib/pkgconfig/libcrypto++.pc"
9699
cd ..
97-
ls -lsa /usr/lib/libcryptopp*
100+
CPP_PATCHV=${CRYPTOPP_VERSION_MAJOR}.${CRYPTOPP_VERSION_MINOR}.${CRYPTOPP_VERSION_PATCH}
101+
ln -s /usr/lib/libcryptopp.so.${CRYPTOPP_VERSION_MAJOR} /usr/lib/libcryptopp.so.${CPP_PATCHV}
102+
ln -s /usr/lib/libcryptopp.so.${CRYPTOPP_VERSION_MAJOR}.${CRYPTOPP_VERSION_MINOR} /usr/lib/libcryptopp.so.${CPP_PATCHV}
103+
/sbin/ldconfig -n /usr/lib
98104

99105
# build messages
100106
cd /tmp/src/src/messages

0 commit comments

Comments
 (0)