User forums > Using Code::Blocks
How to pass -Wl,--rpath=$ORIGIN/blabla/ to the linker
Jenna:
This gives a little description:
http://stackoverflow.com/questions/230364/how-to-get-rpath-with-origin-to-work-on-codeblocks-gcc
It has to do with macro-replacement and shell escaping.
And as one of the posters there wrote:
--- Quote from: http://stackoverflow.com/questions/230364/how-to-get-rpath-with-origin-to-work-on-codeblocks-gcc ---Whoever decided to make the token $ORIGIN is an evil bastard who deserves a special place in programmer hell.
--- End quote ---
That we need to triple the $-sign might be a change in our code.
Navigation
[0] Message Index
[*] Previous page
Go to full version