Add build_rpath as new property allowing people to specify rpath entries that are used in the build tree but will be removed on install.
parent
381e8313ed
commit
2269b7f60b
16 changed files with 57 additions and 16 deletions
@ -0,0 +1,9 @@ |
||||
project('build rpath', 'c') |
||||
|
||||
subdir('sub') |
||||
executable('prog', 'prog.c', |
||||
link_with : l, |
||||
build_rpath : '/foo/bar', |
||||
install_rpath : '/baz', |
||||
install : true, |
||||
) |
@ -0,0 +1,5 @@ |
||||
int get_stuff(); |
||||
|
||||
int main(int argc, char **argv) { |
||||
return get_stuff(); |
||||
} |
@ -0,0 +1 @@ |
||||
l = shared_library('stuff', 'stuff.c') |
@ -0,0 +1,3 @@ |
||||
int get_stuff() { |
||||
return 0; |
||||
} |
Loading…
Reference in new issue