add AIX to desktop
This commit is contained in:
parent
4464655f41
commit
53baa03a40
3 changed files with 25 additions and 4 deletions
|
@ -121,8 +121,17 @@ if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
|
|||
my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \
|
||||
"-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"`
|
||||
if [ -n "$my_path" ] ; then
|
||||
LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
export LD_LIBRARY_PATH
|
||||
sd_platform=`uname -s`
|
||||
case $sd_platform in
|
||||
AIX)
|
||||
LIBPATH=$my_path${LIBPATH:+:$LIBPATH}
|
||||
export LIBPATH
|
||||
;;
|
||||
*)
|
||||
LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
export LD_LIBRARY_PATH
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -57,8 +57,17 @@ if [ -x "$sd_prog/../basis-link/ure-link/bin/javaldx" ] ; then
|
|||
my_path=`"$sd_prog/../basis-link/ure-link/bin/javaldx" $BOOTSTRAPVARS \
|
||||
"-env:INIFILENAME=vnd.sun.star.pathname:$sd_prog/redirectrc"`
|
||||
if [ -n "$my_path" ] ; then
|
||||
LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
export LD_LIBRARY_PATH
|
||||
sd_platform=`uname -s`
|
||||
case $sd_platform in
|
||||
AIX)
|
||||
LIBPATH=$my_path${LIBPATH:+:$LIBPATH}
|
||||
export LIBPATH
|
||||
;;
|
||||
*)
|
||||
LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
|
||||
export LD_LIBRARY_PATH
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -70,6 +70,7 @@
|
|||
#define PLATFORM_OS2_X86 "os2_x86"
|
||||
|
||||
|
||||
#define PLATFORM_AIX_POWERPC "aix_powerpc"
|
||||
|
||||
|
||||
|
||||
|
@ -184,6 +185,8 @@ namespace
|
|||
ret = checkOSandCPU(OUSTR("MacOSX"), OUSTR("PowerPC"));
|
||||
else if (token.equals(OUSTR(PLATFORM_OS2_X86)))
|
||||
ret = checkOSandCPU(OUSTR("OS2"), OUSTR("x86"));
|
||||
else if (token.equals(OUSTR(PLATFORM_AIX_POWERPC)))
|
||||
ret = checkOSandCPU(OUSTR("AIX"), OUSTR("PowerPC"));
|
||||
else
|
||||
{
|
||||
OSL_ENSURE(0, "Extension Manager: The extension supports an unknown platform. "
|
||||
|
|
Loading…
Reference in a new issue