Fixes: use LD_LIBRARY_PATH in wrapper script

This commit is contained in:
hjk
2009-03-06 14:51:33 +01:00
parent 41535ff25b
commit d9cbcdc94b

View File

@@ -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+"$@"}