diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-11-28 11:35:30 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-11-28 11:35:30 +0000 |
commit | a204c6ca18f25a4bc16bc999f0114eebafb01ffb (patch) | |
tree | ff945fbd0c4cf740237922fc9ad803de784fcc40 /src | |
parent | Update contact email. Fix quoting. (diff) | |
download | sandbox-a204c6ca18f25a4bc16bc999f0114eebafb01ffb.tar.gz sandbox-a204c6ca18f25a4bc16bc999f0114eebafb01ffb.tar.bz2 sandbox-a204c6ca18f25a4bc16bc999f0114eebafb01ffb.zip |
Revert 64bit arch test, as we should build the 32bit version without full
path checking as well, and add --enable-multilib switch to configure.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/sandbox.c | 2 | ||||
-rw-r--r-- | src/sandbox_futils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sandbox.c b/src/sandbox.c index 2cae41c..ced8002 100644 --- a/src/sandbox.c +++ b/src/sandbox.c @@ -444,7 +444,7 @@ int main(int argc, char **argv) if (print_debug) printf("Verification of the required files.\n"); -#ifndef SB_HAVE_64BIT_ARCH +#ifndef SB_HAVE_MULTILIB if (0 >= exists(sandbox_info.sandbox_lib)) { perror("sandbox: Could not open the sandbox library"); exit(EXIT_FAILURE); diff --git a/src/sandbox_futils.c b/src/sandbox_futils.c index 02db020..1a0de04 100644 --- a/src/sandbox_futils.c +++ b/src/sandbox_futils.c @@ -25,7 +25,7 @@ SB_STATIC char *egetcwd(char *, size_t); SB_STATIC void get_sandbox_lib(char *path) { -#ifdef SB_HAVE_64BIT_ARCH +#ifdef SB_HAVE_MULTILIB snprintf(path, SB_PATH_MAX, "%s", LIB_NAME); #else snprintf(path, SB_PATH_MAX, "%s/%s", LIBSANDBOX_PATH, LIB_NAME); |