]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltcf-cxx.sh (archive_cmds) [HP-UX, GCC]: Link with -fPIC.
authorAlbert Chin <china@thewrittenword.com>
Fri, 16 Mar 2001 03:56:31 +0000 (03:56 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Fri, 16 Mar 2001 03:56:31 +0000 (03:56 +0000)
ChangeLog
ltcf-cxx.sh

index 3fbe67a9f1e6cc297cb18ab5a36bd57a67324e2c..d7c4ecffefbe1bce58b9309784e6b8989476d533 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-16  Albert Chin  <china@thewrittenword.com>
+       
+       * ltcf-cxx.sh (archive_cmds) [HP-UX, GCC]: Link with -fPIC.
+
 2001-03-13  Alexandre Oliva  <aoliva@redhat.com>
 
        * ltconfig.in (lt_cv_compiler_c_o): Cache it.
index 395b998f8d969a69cd1cd2cfe66c9d77dbaf5687..d7cdf6909b0b0cc355f03b7393fa34132357d662 100644 (file)
@@ -269,8 +269,8 @@ case $host_os in
       *)
         if test $with_gcc = yes; then
          case "$host_os" in
-         hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
-         *) archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;;
+         hpux9*) archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $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 $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;;
          esac
        else
          # FIXME: insert proper C++ library support