Do not set LD_LIBRARY_PATH

RPATH is set and is enough:
$ patchelf --print-rpath /usr/lib64/chromium-browser/chrome
$ORIGIN
This commit is contained in:
Mikhail Novosyolov 2022-02-05 06:50:07 +03:00
parent 534c78119b
commit d929e67ffb

View file

@ -17,14 +17,6 @@ usage () {
echo " -h or --help This help screen"
}
# FFmpeg needs to know where its libs are located
if [ "Z$LD_LIBRARY_PATH" != Z ] ; then
LD_LIBRARY_PATH=$LIBDIR:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=$LIBDIR
fi
export LD_LIBRARY_PATH
# xdg-settings should in PATH
PATH=$PATH:$LIBDIR
export PATH