* ltcf-c.sh: (dyld/darwin*) Much improved port.
* libtool.m4: (dyld/darwin*) Much improved port.
* ltmain.in: (dyld/darwin*) Much improved port.
+2000-12-16 Wilfredo Sanchez <wsanchez@apple.com>
+
+ * ltconfig.in: (dyld/darwin*) Much improved port.
+ * ltcf-c.sh: (dyld/darwin*) Much improved port.
+ * libtool.m4: (dyld/darwin*) Much improved port.
+ * ltmain.in: (dyld/darwin*) Much improved port.
+
2000-12-16 Sascha Schumann <sascha@schumann.cx>
* ltmain.in: Accept darwin as an alias for rhapsody.
lt_cv_file_magic_cmd='$OBJDUMP -f'
;;
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
+ ;;
+
freebsd* )
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
case "$host_cpu" in
$CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $lib '$ltdll_obj'$libobjs $deplibs $compiler_flags'
;;
+ darwin*|rhapsody*)
+ allow_undefined_flag='-undefined warning'
+ archive_cmds='$CC $(if [ "$module" = "yes" ]; then echo -bundle; else
+ echo -dynamiclib; fi) -o $lib $libobjs $deplibs $linkopts'
+ archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
+ ## What we need is to hardcode the path to the library, not the search path
+ #hardcode_direct=yes
+ #hardcode_libdir_flag_spec='-install_name $libdir/$lib'
+ hardcode_shlibpath_var=no
+ whole_archive_flag_spec='-all_load'
+ ;;
+
netbsd*)
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
lt_cv_dlopen_libs=
;;
+darwin* | rhapsody*)
+ library_names_spec='${libname}.`if [ "$module" = "yes" ]; then echo so; else echo dylib; fi`'
+ need_lib_prefix=no
+ need_version=no
+ postinstall_cmds='chmod +x $lib'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+ ;;
+
freebsd1*)
dynamic_linker=no
;;