libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DESTDIR, relink dependent lib, RPM and AIX


From: Jaimon Jose
Subject: DESTDIR, relink dependent lib, RPM and AIX
Date: Sun, 08 Oct 2006 22:21:13 +0530
User-agent: Thunderbird 1.5.0.7 (X11/20060909)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]