summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-10-26 17:58:11 +0000
committerSascha Schumann <sas@php.net>2000-10-26 17:58:11 +0000
commit89aa77d306ac804ddbc198801427c943533e4eaf (patch)
treedb1366912b23dabb797545f6f1b1f422e47f1a50
parentd504de0f789a390545fd219b8eebc951012cfa61 (diff)
downloadphp-git-89aa77d306ac804ddbc198801427c943533e4eaf.tar.gz
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..
-rw-r--r--ltconfig4
-rw-r--r--ltmain.sh2
2 files changed, 3 insertions, 3 deletions
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"
;;