]> rtime.felk.cvut.cz Git - omk.git/commit
Added LD_RUN_PATH when linking shared libraries
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 29 Oct 2008 23:42:43 +0000 (00:42 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 29 Oct 2008 23:42:43 +0000 (00:42 +0100)
commit45996dec1b0b7712238f4c5b2f5a048b6072c08c
treef837d377eb618593fc8d691968a189252c70f041
parentf0594a6f357ec2fe2ebef775a7bf1569f1414749
Added LD_RUN_PATH when linking shared libraries

This LD_RUN_PATH "hack" is the only way how I was able to link a program, which
depends in a shared library, which depends on another shared library. The
$ORIGIN didn't work here. The problem with this solution is that the absolute
path is compiled in the library.
snippets/linux