From 304bf10938137e213d5bf4a2a52cec9fe1d0fb70 Mon Sep 17 00:00:00 2001 From: Caleb Jorden Date: Thu, 1 Nov 2018 13:35:53 +0530 Subject: [PATCH] Enable build with static library for zck. Very small change in Meson config to allow zck to build with a static library instead of just a dynamic one. To use, run "meson --default-library=static build" The resulting binaries should now be statically linked with zck (resuilting in fewer dependencies). --- src/lib/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/meson.build b/src/lib/meson.build index 73f50f3..e070c37 100644 --- a/src/lib/meson.build +++ b/src/lib/meson.build @@ -6,7 +6,7 @@ subdir('hash') subdir('index') subdir('dl') lib_sources += files('zck.c', 'header.c', 'io.c', 'log.c', 'compint.c', 'error.c') -zcklib = shared_library('zck', +zcklib = library('zck', lib_sources, include_directories: inc, dependencies: [zstd_dep, openssl_dep], -- 2.30.2