It lets me build/run a DSO on darwin, but according to Fred Sanchez, the
libtool 1.3.5 way is wrong..
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
hardcode_libdir_separator=:
;;
- rhapsody*)
+ rhapsody*|darwin*)
archive_cmds='$CC -bundle -undefined suppress -o $lib $libobjs $deplibs $linkopts'
hardcode_libdir_flags_spec='-L$libdir'
hardcode_direct=yes
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
;;
-rhapsody*)
+rhapsody*|darwin*)
version_type=sunos
library_names_spec='${libname}.so'
soname_spec='${libname}.so'
*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
# these systems don't actually have a c library (as such)!
;;
- *-*-rhapsody*)
+ *-*-rhapsody*|*-*-darwin*)
# rhapsody is a little odd...
deplibs="$deplibs -framework System"
;;