cvs: php4 / ltconfig ltmain.sh
| From: | Sascha Schumann | Date: | Thu, 26 Oct 2000 17:58:11 +0000 |
| Subject: | cvs: php4 / ltconfig ltmain.sh | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2266@lists.php.net to get a copy of this message | ||
sas Thu Oct 26 10:58:11 2000 EDT
Modified files:
/php4 ltconfig ltmain.sh
Log:
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..
Index: php4/ltconfig
diff -u php4/ltconfig:1.18 php4/ltconfig:1.19
--- php4/ltconfig:1.18 Sun Jun 11 03:26:24 2000
+++ php4/ltconfig Thu Oct 26 10:58:10 2000
@@ -1439,7 +1439,7 @@
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 @@
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: php4/ltmain.sh
diff -u php4/ltmain.sh:1.18 php4/ltmain.sh:1.19
--- php4/ltmain.sh:1.18 Sun Jun 11 03:26:24 2000
+++ php4/ltmain.sh Thu Oct 26 10:58:11 2000
@@ -1795,7 +1795,7 @@
*-*-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"
;;