From: Alexandre Oliva Date: Sun, 25 Apr 1999 10:21:43 +0000 (+0000) Subject: * ltconfig.in (hpux*, hardcode_minus_L): Set to yes. X-Git-Tag: release-1-3~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b911474ce59d84f9ea4806c3531c461f90b4f399;p=thirdparty%2Flibtool.git * ltconfig.in (hpux*, hardcode_minus_L): Set to yes. (hpux*, hardcode_libdir_flag_spec): Do not use +s by default. (hpux*, shlibpath_overrides_runpath): Set to no. --- diff --git a/ChangeLog b/ChangeLog index 02a111494..a31a8f668 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1999-04-25 Alexandre Oliva + * ltconfig.in (hpux*, hardcode_minus_L): Set to yes. + (hpux*, hardcode_libdir_flag_spec): Do not use +s by default. + (hpux*, shlibpath_overrides_runpath): Set to no. + * ltconfig.in (irix*, osf*, archive_cmds): Write so_locations within objdir. diff --git a/ltconfig.in b/ltconfig.in index cb8865c4f..b680ee122 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1250,19 +1250,16 @@ else hardcode_shlibpath_var=no ;; - hpux9*) - archive_cmds='$rm $objdir/$soname~$LD -b +b $install_libdir -o $objdir/$soname $libobjs $deplibs $linkopts~test $objdir/$soname = $lib || mv $objdir/$soname $lib' - hardcode_libdir_flag_spec='${wl}+s ${wl}+b ${wl}$libdir' - hardcode_libdir_separator=: - hardcode_direct=yes - export_dynamic_flag_spec='${wl}-E' - ;; - - hpux10* | hpux11*) - archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linkopts' - hardcode_libdir_flag_spec='${wl}+s ${wl}+b ${wl}$libdir' + hpux9* | hpux10* | hpux11*) + case "$host_os" in + hpux9*) archive_cmds='$rm $objdir/$soname~$LD -b +b $install_libdir -o $objdir/$soname $libobjs $deplibs $linkopts~test $objdir/$soname = $lib || mv $objdir/$soname $lib' ;; + *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linkopts' ;; + esac + 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. export_dynamic_flag_spec='${wl}-E' ;; @@ -1738,7 +1735,7 @@ hpux9* | hpux10* | hpux11*) need_lib_prefix=no need_version=no shlibpath_var=SHLIB_PATH - shlibpath_overrides_runpath=yes # +s before +b in hardcode_libdir_flag_spec + shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' soname_spec='${libname}${release}.sl$major' # HP-UX runs *really* slowly unless shared libraries are mode 555.