From ef0c38f90ab8f55ccb319c184523a326ca975f39 Mon Sep 17 00:00:00 2001 From: Fredrik Salomonsson Date: Wed, 13 Apr 2022 12:37:36 -0700 Subject: 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. --- .../meson.build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test cases/unit/105 pkgconfig relocatable with absolute path/meson.build (limited to 'test cases') 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', +) -- cgit v1.1