From: Rasmus Lerdorf Date: Sat, 4 Nov 2000 02:42:10 +0000 (+0000) Subject: Should be ok to use CC here X-Git-Tag: php-4.0.4RC3~327 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5a87b4fa392149cb002a083558d8a49ad6555f9;p=php Should be ok to use CC here --- diff --git a/ltconfig b/ltconfig index 0e7d46c52b..ff185f4694 100644 --- a/ltconfig +++ b/ltconfig @@ -1498,9 +1498,7 @@ else 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 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 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 )' ;;