diff options
author | Antonio Ospite <ao2@ao2.it> | 2020-03-15 23:18:24 +0100 |
---|---|---|
committer | Antonio Ospite <ao2@ao2.it> | 2020-08-19 23:53:58 +0200 |
commit | 5541b4fafe612c44de8d8604afe4dab137702f9f (patch) | |
tree | e6fd8e80f69dbb697a4ef9bd5db46ad56cc0c490 /atk/meson.build | |
parent | d84ddda9106ca78c815a91aa9e9524533245373f (diff) | |
download | at-spi2-core-5541b4fafe612c44de8d8604afe4dab137702f9f.tar.gz |
meson: fix pkg-config generation with internal dependencies
When building with internal dependencies (subprojects) meson fails to
configure the build with the following message:
subprojects/atk/atk/meson.build:161:10: ERROR: requires argument not a string, library with pkgconfig-generated file or pkgconfig-dependency object, got <InternalDependency null: True>
Use libraries instead of requires when calling pkgconfig.generate() to
make the configuration succeed.
Change inspired by
https://gitlab.freedesktop.org/libnice/libnice/commit/ff75be1b19fc2599fda520321649da32625c561d
Diffstat (limited to 'atk/meson.build')
-rw-r--r-- | atk/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atk/meson.build b/atk/meson.build index 5dd736ab..d19bbbac 100644 --- a/atk/meson.build +++ b/atk/meson.build @@ -164,5 +164,5 @@ pkgconfig.generate(libatk, description: 'Accessibility Toolkit', subdirs: atk_api_name, filebase: 'atk', - requires: glib_dep, + libraries: glib_dep, ) |