Skip to content

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

Edited by Antonio Ospite

Merge request reports