-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marc Feeley wrote:
On 29-Nov-08, at 6:44 PM, Marijn Schouten (hkBst) wrote:
What is the point of doing all this?
On some systems, when a program is linked against a shared library, it is important to link the program when the shared library is in the final (installed) location. This way it is not necessary for the library to be in the PATH (actually LD_LIBRARY_PATH or similar) at run time.
Perhaps this is not needed on many, if not most, systems. But in the interest of portability this is how it is done for all systems.
Marc
Hi Marc, if so, then the first compilation is redundant. Delaying linking until after install is incompatible with installing into a temporary staging area aka DESTDIR. Are you certain it is really that bad? What platform are we talking about that needs this? If you want portability shouldn't you be using libtool instead of rolling your own? Thanks, Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project, Gentoo ML <http://www.gentoo.org/proj/en/lisp/>, #gentoo-{lisp,ml} on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkyiYMACgkQp/VmCx0OL2wKXACdENnzgOHjOX6e4437Rhu30sEh bdEAn3cxGxgwjg72OUipsqvMQImHXGKi =Jjvi -----END PGP SIGNATURE-----