Hi, I'm trying to do a "make install DESTDIR=/mydir " on AIX 5.1. I see a similar question is asked couple of months back and didn't see any reply yet. I'm using libtool version 1.5.22. ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
I see that hardcode_direct is set to yes. All the dependent libraries built before the current library/binary is replaced with the absolute path name ( $prefix/$libname ) in the link command. However, the DESTDIR variable is left out. Build is failing because of this. I see the line, if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes; then add="$libdir/$linklib" Shouldn't the last line be add=$destdir/$libdir/$linklib ? One more problem is destdir is parsed after this line. This seems to be happening only on AIX. Any help is appreciated. Thanks --jaimon _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool