summarylogtreecommitdiffstats
path: root/xnview.sh
diff options
context:
space:
mode:
authorKevin Brodsky2021-09-19 18:15:22 +0100
committerKevin Brodsky2021-09-19 18:15:22 +0100
commit8b5edf35a1361a69a64b121caaaf14392c9f47a8 (patch)
tree4541609610e4404245052db6fe7cfe8b0aa89523 /xnview.sh
parent9c21ce593cb1977da32e842da1f6427d2355f036 (diff)
downloadaur-8b5edf35a1361a69a64b121caaaf14392c9f47a8.tar.gz
upgpkg: 0.99.0
XnView now uses libraw (see release notes), unfortunately the system one doesn't seem to work, so the easiest option is to package the provided one.
Diffstat (limited to 'xnview.sh')
-rwxr-xr-xxnview.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/xnview.sh b/xnview.sh
index 0e634686e63e..d2c83d67cc24 100755
--- a/xnview.sh
+++ b/xnview.sh
@@ -1,4 +1,5 @@
#!/bin/bash
xnviewmp_root=$(dirname "$(realpath "$0")")
+export LD_LIBRARY_PATH="${xnviewmp_root}/lib${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}"
export LD_PRELOAD="${xnviewmp_root}/lib/qt5_std_fun_forwarder.so${LD_PRELOAD+:${LD_PRELOAD}}"
exec "${xnviewmp_root}/XnView" "$@"