From 8c214d27016c588f48ba5f0b334da6ca6092cb18 Mon Sep 17 00:00:00 2001 From: David Huggins-Daines Date: Wed, 28 Sep 2022 23:05:57 -0400 Subject: [PATCH] build: enable shared libs in docker build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2d7dfb5f7..2862c65b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN apk add --no-cache cmake ninja gcc musl-dev python3-dev pkgconfig COPY . /pocketsphinx WORKDIR /pocketsphinx -RUN cmake -S . -B build -G Ninja && cmake --build build --target install +RUN cmake -S . -B build -DBUILD_SHARED_LIBS=ON -G Ninja && cmake --build build --target install # Cannot use --build-option because pip sucks RUN CMAKE_ARGS="-DUSE_INSTALLED_POCKETSPHINX=ON" pip wheel -v .