C: Difference between revisions
imported>Mic92 fix markup |
imported>Mic92 fix markup |
||
Line 54: | Line 54: | ||
In <code>$NIX_CFLAGS_COMPILE</code> we see that the include search path is extended by appending new directories | In <code>$NIX_CFLAGS_COMPILE</code> we see that the include search path is extended by appending new directories | ||
using the <code>-isystem</code flag. For <code>$NIX_LDFLAGS</code> see that the library link path is extended | using the <code>-isystem</code> flag. | ||
For <code>$NIX_LDFLAGS</code> see that the library link path is extended | |||
using the <code>-L</code> flag. We also notice that in addition to library paths the linker gets instructed | using the <code>-L</code> flag. We also notice that in addition to library paths the linker gets instructed | ||
to extend the <code>RPATH</code> of the program using the <code>-rpath</code> flag. | to extend the <code>RPATH</code> of the program using the <code>-rpath</code> flag. |