Commit 74d70dec authored by Jonah Brüchert's avatar Jonah Brüchert 🌳 Committed by Michael Pyne

session-env: Set correct libname on Debian systems.

Contributed by Jonah Brüchert.

Debian and its derivatives use paths like /usr/lib/$abi-triple, and
these /don't/ seem to also exist on non-Debian distros. So assume that
if a GNU ABI triple path is present that it should be used.

Differential Revision: https://phabricator.kde.org/D19864
parent b7f93bfe
Pipeline #3088 passed with stage
in 1 minute and 4 seconds
......@@ -85,7 +85,9 @@ fi
# but we can reason that if there's a /usr/lib64, there will likely end
# up being a $kde_prefix/lib64 once kdesrc-build gets done installing it
libname=lib
if test -d /usr/lib64; then
if test -d /usr/lib/x86_64-linux-gnu; then
libname=lib/x86_64-linux-gnu
elif test -d /usr/lib64; then
libname=lib64
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment