diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-06-09 13:08:01 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2022-08-17 13:44:08 -0700 |
commit | 6d50fadde5bc0654bfe4fbd0cc911ec30b0ea47a (patch) | |
tree | 7d76b050895d2f4692bd14431f003726d4070969 /test cases/unit | |
parent | 429e7c1edc7ef76b728b624dbd3b68834c253117 (diff) | |
download | meson-6d50fadde5bc0654bfe4fbd0cc911ec30b0ea47a.zip meson-6d50fadde5bc0654bfe4fbd0cc911ec30b0ea47a.tar.gz meson-6d50fadde5bc0654bfe4fbd0cc911ec30b0ea47a.tar.bz2 |
tests: fix targets with no sources
This was never supposed to be possible, so stop doing it.
Diffstat (limited to 'test cases/unit')
-rw-r--r-- | test cases/unit/52 pkgconfig static link order/dummy.c | 0 | ||||
-rw-r--r-- | test cases/unit/52 pkgconfig static link order/meson.build | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test cases/unit/52 pkgconfig static link order/dummy.c b/test cases/unit/52 pkgconfig static link order/dummy.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test cases/unit/52 pkgconfig static link order/dummy.c diff --git a/test cases/unit/52 pkgconfig static link order/meson.build b/test cases/unit/52 pkgconfig static link order/meson.build index b61de9a..31449e5 100644 --- a/test cases/unit/52 pkgconfig static link order/meson.build +++ b/test cases/unit/52 pkgconfig static link order/meson.build @@ -1,7 +1,7 @@ project('link order test', 'c') -dep = library('dependency', []) -lib = static_library('something', [], link_with: dep) +dep = library('dependency', 'dummy.c') +lib = static_library('something', 'dummy.c', link_with: dep) import('pkgconfig').generate( name: 'libsomething', |