LIBGL_DRIVERS_PATH=/#PKGLIBDIR#/dri
if [ `uname -m` = 'x86_64' ]; then
  if [ -d /#PKGLIBDIR32#/dri ]; then
    LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/#PKGLIBDIR32#/dri
    if [ ! -z $LD_LIBRARY_PATH ]; then
	LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
    fi
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
    export LD_LIBRARY_PATH
  fi
fi
export LIBGL_DRIVERS_PATH
