]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update legacy support to 5
authorLzu Tao <taolzu@gmail.com>
Wed, 28 Nov 2018 04:49:52 +0000 (11:49 +0700)
committerLzu Tao <taolzu@gmail.com>
Sat, 1 Dec 2018 16:18:59 +0000 (23:18 +0700)
contrib/meson/lib/meson.build
contrib/meson/meson_options.txt

index b5d6778dd52fe38b54bdd31b85addefde9b912a1..bc02205848359094fadc7ad3ee91c79098cf7e0e 100644 (file)
@@ -58,7 +58,7 @@ if legacy_support == '0'
 endif
 if legacy_support != 'false'
     if legacy_support == 'true'
-        legacy_support = '1'
+        legacy_support = '5'
     endif
     legacy_int = legacy_support.to_int()
     if legacy_int < 0 or legacy_int >= 8
@@ -108,12 +108,11 @@ libzstd = library('zstd',
     soversion: '1')
 
 pkgconfig.generate(name: 'libzstd',
-    description: 'fast lossless compression algorithm library',
-    version: zstd_version,
     filebase: 'libzstd',
     libraries: [libzstd],
-    #subdirs: ['.']
-    )
+    description: 'fast lossless compression algorithm library',
+    version: zstd_version,
+    url: 'http://www.zstd.net/')
 
 install_headers(join_paths(library_dir, 'zstd.h'),
     join_paths(library_deprecated_dir, 'zbuff.h'),
index 6e9358576a0d816c8edab7fd6f137ad3d293269a..066be6a323a1021c3c585e788e22c16ba9608321 100644 (file)
@@ -10,7 +10,7 @@
 
 option('multithread_support', type: 'boolean', value: true,
     description: 'Enable multi-threading when pthread is detected')
-option('legacy_support', type: 'string', value: '4',
+option('legacy_support', type: 'string', value: '5',
     description: 'Support any legacy format: true or false, or 7 to 1 for v0.7+ to v0.1+')
 option('build_programs', type: 'boolean', value: true,
     description: 'Enable programs build')