diff options
author | Fredrik Salomonsson <plattfot@posteo.net> | 2022-04-13 12:37:36 -0700 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-04-19 17:35:08 -0400 |
commit | ef0c38f90ab8f55ccb319c184523a326ca975f39 (patch) | |
tree | 21bd3ee4d4d1bd99bb5eef0ee981a542fdbfbc64 /test cases | |
parent | 3cac527d9fffb4f47fb6c3e7cfc5e840fec06a85 (diff) | |
download | meson-ef0c38f90ab8f55ccb319c184523a326ca975f39.zip meson-ef0c38f90ab8f55ccb319c184523a326ca975f39.tar.gz meson-ef0c38f90ab8f55ccb319c184523a326ca975f39.tar.bz2 |
unittests: Add test_pkgconfig_relocatable to allplatformstests
Test that the pkgconfig prefix is actually relocatable when
pkgconfig.relocatable=true and is not when
pkgconfig.relocatable=false.
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/unit/105 pkgconfig relocatable with absolute path/meson.build | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test cases/unit/105 pkgconfig relocatable with absolute path/meson.build b/test cases/unit/105 pkgconfig relocatable with absolute path/meson.build new file mode 100644 index 0000000..ff21286 --- /dev/null +++ b/test cases/unit/105 pkgconfig relocatable with absolute path/meson.build @@ -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', +) |