diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/qtcreator | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/qtcreator b/bin/qtcreator index 931b3dd461..b915628c3e 100755 --- a/bin/qtcreator +++ b/bin/qtcreator @@ -1,5 +1,9 @@ #!/bin/sh bindir=$(dirname "$0") -libdir=$(cd ${bindir}/../lib ; pwd) +if test "$(uname -m)" = "x86_64" ; then + libdir=$(cd ${bindir}/../lib64 ; pwd) +else + libdir=$(cd ${bindir}/../lib ; pwd) +fi LD_LIBRARY_PATH="${libdir}:${LD_LIBRARY_PATH}" "${bindir}/qtcreator.bin" ${1+"$@"} |