cvs: php4 / ltconfig
| From: | Rasmus Lerdorf | Date: | Sat, 04 Nov 2000 02:42:10 +0000 |
| Subject: | cvs: php4 / ltconfig | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2472@lists.php.net to get a copy of this message | ||
rasmus Fri Nov 3 18:42:10 2000 EDT
Modified files:
/php4 ltconfig
Log:
Should be ok to use CC here
Index: php4/ltconfig
diff -u php4/ltconfig:1.19 php4/ltconfig:1.20
--- php4/ltconfig:1.19 Thu Oct 26 10:58:10 2000
+++ php4/ltconfig Fri Nov 3 18:42:10 2000
@@ -1498,9 +1498,7 @@
sysv5*)
no_undefined_flag=' -z text'
- # $CC -shared without GNU ld will not create a library from C++
- # object files and a static libstdc++, better avoid it by now
- archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs
$linkopts'
+ archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs
$linkopts'
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed
-e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linkopts~$rm
$lib.exp'
hardcode_libdir_flag_spec=
@@ -2101,7 +2099,7 @@
soname_spec='${libname}${release}.so$major'
shlibpath_var=LD_LIBRARY_PATH
case "$host_vendor" in
- sequent)
+ sco|sequent)
file_magic_cmd='/bin/file'
deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib
)'
;;