From 4a15885bf9c76313ff957e61fa8ed2b829485e82 Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Thu, 21 Jun 2007 06:17:16 +0000 Subject: [PATCH] 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. --- v7/src/microcode/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1