summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2018-12-02 15:29:32 (GMT)
committerLzu Tao <taolzu@gmail.com>2018-12-03 12:19:02 (GMT)
commita9e96d5c5a110e95bef9613ea41fcf26c4254546 (patch)
tree8540c9f836d4cd1837bcacdb55a56e3f21a83148
parent4fc4b735869bf2cab0e777867a860363d6db5632 (diff)
downloadlz4-a9e96d5c5a110e95bef9613ea41fcf26c4254546.zip
lz4-a9e96d5c5a110e95bef9613ea41fcf26c4254546.tar.gz
lz4-a9e96d5c5a110e95bef9613ea41fcf26c4254546.tar.bz2
meson: Fix soversion and generated pkg-config file [skip ci]
-rw-r--r--contrib/meson/lib/meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/meson/lib/meson.build b/contrib/meson/lib/meson.build
index 3810601..7a1b5d5 100644
--- a/contrib/meson/lib/meson.build
+++ b/contrib/meson/lib/meson.build
@@ -32,13 +32,14 @@ liblz4 = library('lz4',
include_directories: liblz4_includes,
c_args: liblz4_c_args,
install: true,
- soversion: lz4_libversion)
+ version: lz4_libversion,
+ soversion: '1')
liblz4_dep = declare_dependency(link_with: liblz4,
include_directories: liblz4_includes)
pkgconfig.generate(name: 'lz4',
- filebase: 'lz4',
+ filebase: 'liblz4',
libraries: [liblz4],
description: 'extremely fast lossless compression algorithm library',
version: lz4_libversion,