diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2019-02-12 15:51:46 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2019-04-05 15:08:17 -0700 |
| commit | 569e646e1e3556fb5fdb7c4fb012a30145c7145d (patch) | |
| tree | 1e42b0750bb3e0f0cce0cb1857916c0b2d7d97b6 /test cases/unit | |
| parent | 25eb86382b4b081c1d3992b9bfd9ebc4ab9b3d10 (diff) | |
| download | meson-569e646e1e3556fb5fdb7c4fb012a30145c7145d.tar.gz | |
dependencies: Add command line option for pkg_config_path
This creates a new command line option to store pkg_config_path into,
and store the environment variable into that option. Currently this
works like the environment variable, for both cross and native targets.
Diffstat (limited to 'test cases/unit')
| -rw-r--r-- | test cases/unit/55 pkg_config_path option/extra_path/totally_made_up_dep.pc | 7 | ||||
| -rw-r--r-- | test cases/unit/55 pkg_config_path option/meson.build | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test cases/unit/55 pkg_config_path option/extra_path/totally_made_up_dep.pc b/test cases/unit/55 pkg_config_path option/extra_path/totally_made_up_dep.pc new file mode 100644 index 000000000..6d0868720 --- /dev/null +++ b/test cases/unit/55 pkg_config_path option/extra_path/totally_made_up_dep.pc @@ -0,0 +1,7 @@ +prefix=/ +libdir=${prefix}/lib +includedir=${prefix}/include + +Name: totally_made_up_dep +Description: completely and totally made up for a test case +Version: 1.2.3
\ No newline at end of file diff --git a/test cases/unit/55 pkg_config_path option/meson.build b/test cases/unit/55 pkg_config_path option/meson.build new file mode 100644 index 000000000..623c3a27b --- /dev/null +++ b/test cases/unit/55 pkg_config_path option/meson.build @@ -0,0 +1,3 @@ +project('pkg_config_path option') + +dependency('totally_made_up_dep', method : 'pkg-config') |
