diff options
Diffstat (limited to 'desktop/scripts/soffice.sh')
-rwxr-xr-x | desktop/scripts/soffice.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/desktop/scripts/soffice.sh b/desktop/scripts/soffice.sh index 5c76b6e2211d..df295cb76250 100755 --- a/desktop/scripts/soffice.sh +++ b/desktop/scripts/soffice.sh @@ -141,7 +141,7 @@ if echo "$checks" | grep -q "cc" ; then fi case "$(uname -s)" in -NetBSD|OpenBSD|DragonFly) +OpenBSD) # this is a temporary hack until we can live with the default search paths LD_LIBRARY_PATH="$sd_prog${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" JAVA_HOME=$(javaPathHelper -h libreoffice-java 2> /dev/null) @@ -150,6 +150,11 @@ NetBSD|OpenBSD|DragonFly) export JAVA_HOME fi ;; +NetBSD|DragonFly) +# this is a temporary hack until we can live with the default search paths + LD_LIBRARY_PATH="$sd_prog${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" + export LD_LIBRARY_PATH + ;; AIX) LIBPATH="$sd_prog${LIBPATH:+:$LIBPATH}" export LIBPATH |