core: Resurrect loading of boot-0.32-mo.
This commit is contained in:
parent
22a22c1de8
commit
8793e0dde3
|
@ -24,6 +24,7 @@ if [ -n "$BUILD_DEBUG" ]; then
|
|||
set -x
|
||||
fi
|
||||
|
||||
MODULEDIR=${MODULEDIR-${DATADIR}${DATADIR:+/}module}
|
||||
export CC32 CPPFLAGS C32FLAGS
|
||||
|
||||
CC32=${CC32-$(command -v i686-unknown-linux-gnu-gcc)}
|
||||
|
|
2
build.sh
2
build.sh
|
@ -39,7 +39,7 @@ MES_DEBUG=${MES_DEBUG-1}
|
|||
|
||||
PREFIX=${PREFIX-/usr/local}
|
||||
DATADIR=${DATADIR-$PREFIX/share/mes}
|
||||
MODULEDIR=${MODULEDIR-$DATADIR/module}
|
||||
MODULEDIR=${MODULEDIR-${DATADIR}${DATADIR:+/}module}
|
||||
set -e
|
||||
|
||||
CPPFLAGS=${CPPFLAGS-"
|
||||
|
|
|
@ -2286,7 +2286,7 @@ SCM
|
|||
bload_env (SCM a) ///((internal))
|
||||
{
|
||||
#if !_POSIX_SOURCE
|
||||
char *mo = "mes/read-0-32.mo";
|
||||
char *mo = "mes/boot-0.32-mo";
|
||||
g_stdin = open ("module/mes/boot-0.32-mo", O_RDONLY);
|
||||
char *read0 = MODULEDIR "/mes/boot-0.32-mo";
|
||||
g_stdin = g_stdin >= 0 ? g_stdin : open (read0, O_RDONLY);
|
||||
|
|
Loading…
Reference in a new issue