Test that the pkgconfig prefix is actually relocatable when pkgconfig.relocatable=true and is not when pkgconfig.relocatable=false.pull/10290/head
parent
3cac527d9f
commit
ef0c38f90a
2 changed files with 48 additions and 0 deletions
@ -0,0 +1,15 @@ |
|||||||
|
project( |
||||||
|
'pkgconfig-relocatable-with-absolute-path', |
||||||
|
version : '1.0', |
||||||
|
default_options: [ |
||||||
|
'pkgconfig.relocatable=true', |
||||||
|
]) |
||||||
|
|
||||||
|
pkgg = import('pkgconfig') |
||||||
|
|
||||||
|
pkgg.generate( |
||||||
|
name : 'libsimple', |
||||||
|
version : '1.0', |
||||||
|
description : 'A simple pkgconfig.', |
||||||
|
install_dir: get_option('prefix')/'share/misc/pkgconfig', |
||||||
|
) |
Loading…
Reference in new issue