Link programs to libraries within a staging directory

2009-07-05 Thread Pierre Pronchery
Dear list, us hackable:1 developers [1] have been cross-compiling libtool-based projects for a while. We are using a staging directory where libraries and programs are installed as they are compiled. Unfortunately, libtool was consistently failing at using the right absolu

Link programs with libraries within a staging directory

2009-07-05 Thread Pierre Pronchery
absolute path to the libraries there, picking up native libraries of the same name instead. We've come up with this patch to solve the situation in our case, together with the -inst-prefix-dir flag. I don't think it has any side-effects either. [1] http://www.hackable1.org/ Cheers, -- Pierre