Skip to content

Commit

Permalink
Provisioning: Fix openssl lib path on Debian
Browse files Browse the repository at this point in the history
This amends change Ia4bacf1b7751e15915fc7faca473cb0408a72e35.

Task-number: QTBUG-123049
Pick-to: 6.7
Change-Id: I0a3e24dd8157fd63c1bdfb06019faff2fa5ef3df
Reviewed-by: Jani Heikkinen <[email protected]>
(cherry picked from commit 2ac1bdd)
Reviewed-by: Toni Saario <[email protected]>
  • Loading branch information
faltsi committed Apr 25, 2024
1 parent e34e62b commit e6f58ce
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions coin/provisioning/common/unix/install-openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ if [[ "$os" == "linux" ]]; then
make && make install_sw install_ssldirs
SetEnvVar "OPENSSL_HOME" "$opensslHome"
SetEnvVar "PATH" "\"$opensslHome/bin:\$PATH\""
SetEnvVar "LD_LIBRARY_PATH" "\"$opensslHome/lib64:$LD_LIBRARY_PATH\""

if uname -a |grep -q "Debian"; then
SetEnvVar "LD_LIBRARY_PATH" "\"$opensslHome/lib:$LD_LIBRARY_PATH\""
else
SetEnvVar "LD_LIBRARY_PATH" "\"$opensslHome/lib64:$LD_LIBRARY_PATH\""
fi
elif [ "$os" == "macos" ] || [ "$os" == "macos-universal" ]; then
# Below target location has been hard coded into Coin.
# QTQAINFRA-1195
Expand Down

0 comments on commit e6f58ce

Please sign in to comment.