Hi,
another minor one:
while doing the DESTDIR patch for hppa-hpux, I've noticed that
'hardcode_shlibpath_var=no' is wrong for hppa*64|ia64*, it needs to be
'unsupported' to allow for PASSing tests/demo-hardcode.test.
While it is correct that LD_LIBRARY_PATH is not hardcoded, the native
linker does not use it to search for libraries at all, which causes
hc-libpath creation to fail in this test, while libtool expects it to
succeed (without hardcoding) when set to 'no'.
The patch attached here does tests/demo-hardcode.test change from FAIL
to PASS for *64-hpux with gcc, and when it does have the patch to use
'chatr' too, it also PASSes with cc/aCC.
Eventually, my previous patch for hppa-hpux DESTDIR could be split into
two separate ones, one for demo-hardcode.test and one for libtool.m4.
Thanks!
/haubi/
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index df64654..100d988 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -4773,7 +4773,6 @@ _LT_EOF
case $host_cpu in
hppa*64*|ia64*)
_LT_TAGVAR(hardcode_direct, $1)=no
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
*)
_LT_TAGVAR(hardcode_direct, $1)=yes
@@ -5712,7 +5711,6 @@ if test "$_lt_caught_CXX_error" != yes; then
case $host_cpu in
hppa*64*|ia64*)
_LT_TAGVAR(hardcode_direct, $1)=no
- _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
;;
*)
_LT_TAGVAR(hardcode_direct, $1)=yes