ld on OS X wants `-dylib', not `-dynamiclib', now that we're actually
authorTaylor R. Campbell <net/mumble/campbell>
Sun, 28 Jan 2007 23:03:06 +0000 (23:03 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Sun, 28 Jan 2007 23:03:06 +0000 (23:03 +0000)
using it instead of the C compiler executable.

v7/src/compiler/machines/C/ctop.scm

index 4496a27000e6ad87291377ec351922d247d3efe0..3c007b0eead6d3871f92201da854180685036954 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: ctop.scm,v 1.22 2007/01/21 05:15:05 riastradh Exp $
+$Id: ctop.scm,v 1.23 2007/01/28 23:03:06 riastradh Exp $
 
 Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
     1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
@@ -186,14 +186,14 @@ USA.
     ("MacOSX"                          ; "MacOSX-PowerPC-32"
      "dylib"
      ("-g" "-O2" "-fno-common" "-DPIC" "-c")
-     ("-dynamiclib" "-flat_namespace" "-undefined" "suppress")
+     ("-dylib" "-flat_namespace" "-undefined" "suppress")
      "cc"
      "ld")
     ;; 64-bit PowerPC MacOSX
     ("MacOSX-PowerPC-64"
      "dylib"
      ("-m64" "-g" "-O2" "-fno-common" "-DPIC" "-c")
-     ("-m64" "-dynamiclib" "-flat_namespace" "-undefined" "suppress")
+     ("-m64" "-dylib" "-flat_namespace" "-undefined" "suppress")
      "gcc-4.0"
      "ld")
     ;; 32-bit i386 Linux