From: Taylor R. Campbell Date: Thu, 21 Jun 2007 06:17:16 +0000 (+0000) Subject: On OS X, for dynamically loadable modules, use `-bundle', not X-Git-Tag: 20090517-FFI~515 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=4a15885bf9c76313ff957e61fa8ed2b829485e82;p=mit-scheme.git On OS X, for dynamically loadable modules, use `-bundle', not `-dynamiclib' when invoking `ld'. The main difference is that dylibs don't work for our purposes on older versions of OS X, whereas bundles do, and are generally recommended for these purposes. I've forgotten the technical details. --- diff --git a/v7/src/microcode/configure.ac b/v7/src/microcode/configure.ac index 46f21ee73..7c513a0a2 100644 --- a/v7/src/microcode/configure.ac +++ b/v7/src/microcode/configure.ac @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT([MIT/GNU Scheme microcode], [15.1], [bug-mit-scheme@gnu.org], [mit-scheme]) -AC_REVISION([$Id: configure.ac,v 1.49 2007/06/08 06:04:15 cph Exp $]) +AC_REVISION([$Id: configure.ac,v 1.50 2007/06/21 06:17:16 riastradh Exp $]) AC_CONFIG_SRCDIR([boot.c]) AC_CONFIG_HEADERS([config.h]) AC_PROG_MAKE_SET @@ -825,7 +825,7 @@ freebsd*) ;; darwin*) SCHEME_LDFLAGS="${SCHEME_LDFLAGS} -Wl,-pagezero_size,04000000" - MODULE_LDFLAGS="${MODULE_LDFLAGS} -dynamiclib -flat_namespace -undefined suppress" + MODULE_LDFLAGS="${MODULE_LDFLAGS} -bundle -flat_namespace -undefined suppress" ;; netbsd*) DO_GCC_TESTS=yes