summaryrefslogtreecommitdiffstats
path: root/ltcf-c.sh
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-01-28 04:59:30 +0000
committerDaniel Jacobowitz <drow@false.org>2002-01-28 04:59:30 +0000
commit5aa2ffa962c79f678ba9bb334687c2d03a2dcb14 (patch)
treed0e466fc00fd199d00b2231b39a5e4a20b138212 /ltcf-c.sh
parent3be1ef991bfd32f6862b9cbd47071557dd7bfe92 (diff)
downloadcygnal-5aa2ffa962c79f678ba9bb334687c2d03a2dcb14.tar.gz
cygnal-5aa2ffa962c79f678ba9bb334687c2d03a2dcb14.tar.bz2
cygnal-5aa2ffa962c79f678ba9bb334687c2d03a2dcb14.zip
2002-01-27 Daniel Jacobowitz <drow@mvista.com>
From Steve Ellcey <sje@cup.hp.com>: * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI. (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd, lt_cv_file_magic_test_file): Set to appropriate values for HP-UX IA64. * ltcf-c.sh (archive_cmds, hardcode_*): Ditto. * ltconfig (shlibpath_*, dynamic_linker, library_names_spec, soname_spec, sys_lib_search_path_spec): Ditto. Various configure scripts regenerated.
Diffstat (limited to 'ltcf-c.sh')
-rw-r--r--ltcf-c.sh41
1 files changed, 25 insertions, 16 deletions
diff --git a/ltcf-c.sh b/ltcf-c.sh
index f11a0cfdd..ea6a31f4c 100644
--- a/ltcf-c.sh
+++ b/ltcf-c.sh
@@ -417,23 +417,32 @@ else
;;
hpux9* | hpux10* | hpux11*)
- if test $with_gcc = yes; then
- case "$host_os" in
- hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
- *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;;
- esac
- else
- case $host_os in
- hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
- *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
- esac
- fi
- hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
- hardcode_libdir_separator=:
- hardcode_direct=yes
- hardcode_minus_L=yes # Not in the search PATH, but as the default
- # location of the library.
+ case "$host_cpu" in
+ ia64*)
+ hardcode_direct=no
+ hardcode_shlibpath_var=no
+ archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
+ hardcode_libdir_flag_spec='-L$libdir' ;;
+ *)
+ if test $with_gcc = yes; then
+ case "$host_os" in
+ hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
+ *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;;
+ esac
+ else
+ case $host_os in
+ hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
+ *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
+ esac
+ fi
+ hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
+ hardcode_libdir_separator=:
+ hardcode_minus_L=yes # Not in the search PATH, but as the default
+ # location of the library.
+ ;;
+ esac
export_dynamic_flag_spec='${wl}-E'
+ hardcode_direct=yes
;;
irix5* | irix6*)