From: Sascha Schumann Date: Thu, 26 Oct 2000 17:58:11 +0000 (+0000) Subject: Temporary fix for mac os x stuff. X-Git-Tag: php-4.0.4RC3~528 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89aa77d306ac804ddbc198801427c943533e4eaf;p=php Temporary fix for mac os x stuff. It lets me build/run a DSO on darwin, but according to Fred Sanchez, the libtool 1.3.5 way is wrong.. --- diff --git a/ltconfig b/ltconfig index c14d83c169..0e7d46c52b 100644 --- a/ltconfig +++ b/ltconfig @@ -1439,7 +1439,7 @@ else 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 @@ -2053,7 +2053,7 @@ osf3* | osf4* | osf5*) 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' diff --git a/ltmain.sh b/ltmain.sh index 0c2595110b..f72f22fdc2 100644 --- a/ltmain.sh +++ b/ltmain.sh @@ -1795,7 +1795,7 @@ compiler." *-*-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" ;;