[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DESTDIR install on hppa-hpux
From: |
Ralf Wildenhues |
Subject: |
Re: DESTDIR install on hppa-hpux |
Date: |
Sun, 14 Jun 2009 16:21:29 +0200 |
User-agent: |
Mutt/1.5.19 (2009-06-13) |
Hello Michael,
digging slowly through the issues. In this patch, ...
* Michael Haubenwallner wrote on Wed, May 27, 2009 at 12:16:59AM CEST:
> + Fix DESTDIR install for hppa-hpux10 and hppa-hpux11.
> + * libltdl/m4/libtool.m4: Set hardcode_into_libs=yes.
> + Set hardcode_minus_L back to 'no', as the stored path only is used as
> + fallback when the library is not found via runpath.
> + Do not set runpath with "+b $install_libdir", as this would ignore the
> + collected runpath subsequently set with "+b $libdir".
> + Set hardcode_libdir_flag_spec_ld along direct use of $LD only (hpux10).
... this line is problematic, because ...
> --- a/libltdl/m4/libtool.m4
> +++ b/libltdl/m4/libtool.m4
> @@ -4713,20 +4716,20 @@ _LT_EOF
>
> hpux10*)
> if test "$GCC" = yes && test "$with_gnu_ld" = no; then
> - _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname
> ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
> + _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname -o
> $lib $libobjs $deplibs $compiler_flags'
> else
> - _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o
> $lib $libobjs $deplibs $linker_flags'
> + _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs
> $deplibs $linker_flags'
> + _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
> fi
> if test "$with_gnu_ld" = no; then
> _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
> - _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
... this removed line ...
> _LT_TAGVAR(hardcode_libdir_separator, $1)=:
> @@ -4757,9 +4760,9 @@ _LT_EOF
> # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP
> does)
> _LT_LINKER_OPTION([if $CC understands -b],
> _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
> - [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b
> ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
> - [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir
> -o $lib $libobjs $deplibs $linker_flags'])],
> - [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b
> ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
> + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib
> $libobjs $deplibs $compiler_flags'],
> + [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname -o $lib $libobjs
> $deplibs $linker_flags'])],
... is also used for this older 11.00 compiler version (which you
probably don't have on your systems).
> + [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib
> $libobjs $deplibs $compiler_flags'])
Cheers,
Ralf
- Re: DESTDIR install on hppa-hpux,
Ralf Wildenhues <=