meson: generate a .pc file for libpkgconf

pull/208/head
Christoph Reiter 2020-11-28 15:20:25 +01:00 committed by Ariadne Conill
parent de8fc9e438
commit a69bdfa28e
1 changed files with 8 additions and 0 deletions

View File

@ -66,6 +66,14 @@ libpkgconf = shared_library('pkgconf',
soversion : '3',
)
pkg = import('pkgconfig')
pkg.generate(libpkgconf,
name : 'libpkgconf',
description : 'a library for accessing and manipulating development framework configuration',
url: 'http://github.com/pkgconf/pkgconf',
filebase : 'libpkgconf',
subdirs: ['pkgconf'],
)
pkgconf_exe = executable('pkgconf',
'cli/main.c',