diff options
author | hjk <qtc-committer@nokia.com> | 2009-03-06 14:51:33 +0100 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-03-06 14:51:33 +0100 |
commit | d9cbcdc94b796e1fc43e812685820bdb3ba4f68d (patch) | |
tree | cefacb40c3febdfe42c265de76826625913c1218 /bin/qtcreator | |
parent | 41535ff25b022708375bd1addb75a4b045eeb865 (diff) | |
download | qt-creator-d9cbcdc94b796e1fc43e812685820bdb3ba4f68d.tar.gz |
Fixes: use LD_LIBRARY_PATH in wrapper script
Diffstat (limited to 'bin/qtcreator')
-rwxr-xr-x | bin/qtcreator | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/qtcreator b/bin/qtcreator index be657dcf8f..0b45ece230 100755 --- a/bin/qtcreator +++ b/bin/qtcreator @@ -1,3 +1,5 @@ #!/bin/bash -"`dirname \"$0\"`/qtcreator.bin" ${1+"$@"} +bindir=$(dirname "$0") +libdir=$(cd ${bindir}/../lib ; pwd) +LD_LIBRARY_PATH="${libdir}" "${bindir}/qtcreator.bin" ${1+"$@"} |