]> granicus.if.org Git - php/commitdiff
Temporary fix for mac os x stuff.
authorSascha Schumann <sas@php.net>
Thu, 26 Oct 2000 17:58:11 +0000 (17:58 +0000)
committerSascha Schumann <sas@php.net>
Thu, 26 Oct 2000 17:58:11 +0000 (17:58 +0000)
It lets me build/run a DSO on darwin, but according to Fred Sanchez, the
libtool 1.3.5 way is wrong..

ltconfig
ltmain.sh

index c14d83c169756c5630e337e713b7a4762a4f0c97..0e7d46c52b90e8ee9a1bb315bec9f81bc8d8c8f0 100644 (file)
--- 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'
index 0c2595110b57a8ac740716f1be5e7330fe0bd632..f72f22fdc2ab1d0c6ddac8df186cc1e845b34722 100644 (file)
--- 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"
          ;;