From: Caleb Jorden Date: Thu, 1 Nov 2018 08:05:53 +0000 (+0530) Subject: Enable build with static library for zck. X-Git-Tag: archive/raspbian/1.1.9+ds1-1+rpi1~1^2~84^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=304bf10938137e213d5bf4a2a52cec9fe1d0fb70;p=zchunk.git 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). --- 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],