Files
conan-build/recipes/pkgconf/all/patches/1.7.3-0001-meson-use-declare-dependencies.patch
2024-12-06 16:48:28 +03:00

21 lines
396 B
Diff

--- meson.build
+++ meson.build
@@ -84,12 +84,16 @@
soversion : '3',
)
+libpkgconf_dep = declare_dependency(
+ link_with: libpkgconf,
+ compile_args: '-DLIBPKGCONF_EXPORT',
+)
pkgconf_exe = executable('pkgconf',
'cli/main.c',
'cli/getopt_long.c',
'cli/renderer-msvc.c',
- link_with : libpkgconf,
+ dependencies: libpkgconf_dep,
install : true)
if get_option('tests')