From 5afb25b1a12540d26817b48d61b48eb2259d45f8 Mon Sep 17 00:00:00 2001 From: Ilya Mashchenko Date: Thu, 28 Dec 2023 19:44:21 +0200 Subject: [PATCH] static builder: add snappy.pc (#262) * static builder: add snappy.pc * Update static-builder/Dockerfile.v1 --------- Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> --- static-builder/Dockerfile.v1 | 2 ++ static-builder/snappy.pc | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 static-builder/snappy.pc diff --git a/static-builder/Dockerfile.v1 b/static-builder/Dockerfile.v1 index 6cfc065..46847ca 100644 --- a/static-builder/Dockerfile.v1 +++ b/static-builder/Dockerfile.v1 @@ -54,3 +54,5 @@ RUN apk add --no-cache \ zlib-static \ zstd-dev \ zstd-static + +COPY static-builder/snappy.pc /usr/lib/pkgconfig/snappy.pc diff --git a/static-builder/snappy.pc b/static-builder/snappy.pc new file mode 100644 index 0000000..47192ce --- /dev/null +++ b/static-builder/snappy.pc @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: snappy +Description: A library for compressing and decompressing snappy data +Version: 1.1.10 +Libs: -L${libdir} -lsnappy +Cflags: -I${includedir}