meson: Correct generating pkgconf after Meson v0.49.0

This commit is contained in:
Lzu Tao 2018-12-28 11:20:33 +07:00
parent 26d66942ef
commit 787a72cdfe
2 changed files with 6 additions and 4 deletions

View File

@ -116,9 +116,9 @@ libzstd = library('zstd',
libzstd_dep = declare_dependency(link_with: libzstd,
include_directories: libzstd_includes)
pkgconfig.generate(name: 'libzstd',
pkgconfig.generate(libzstd,
name: 'libzstd',
filebase: 'libzstd',
libraries: [libzstd],
description: 'fast lossless compression algorithm library',
version: zstd_libversion,
url: 'http://www.zstd.net/')

View File

@ -11,9 +11,11 @@
project('zstd',
['c', 'cpp'],
license: ['BSD', 'GPLv2'],
default_options : ['c_std=c99',
default_options : [
'c_std=c99',
'cpp_std=c++11',
'buildtype=release'],
'buildtype=release'
],
version: '1.3.8',
meson_version: '>=0.47.0')