# looks for the native product and collects it's environment (used by make_env())
try_native(){
-qtdir="`find_in_path libqt-mt.so.3.3.3 ${LD_LIBRARY_PATH}`"
+qtdir=""
+if [ -d /usr/share/qt3/lib ] ; then
+ qtdir="`find_in_path libqt-mt.so.3.3.3 /usr/share/qt3/lib`"
+fi
+if [ -z "${qtdir}" ] && [ -d /usr/lib/qt3/lib ] ; then
+ qtdir="`find_in_path libqt-mt.so.3.3.3 /usr/lib/qt3/lib`"
+fi
+if [ -z "${qtdir}" ] ; then
+ qtdir="`find_in_path libqt-mt.so.3.3.3 /usr/lib`"
+fi
if [ -z "${qtdir}" ] ; then
- qtdir="`find_in_path libqt-mt.so.3.3.3 /usr/lib/qt3`"
+ qtdir="`find_in_path libqt-mt.so.3.3.3 ${LD_LIBRARY_PATH}`"
fi
if [ -n "${qtdir}" ] ; then
qtdir=`cd ${qtdir}/..; pwd`