Skip to content

Commit 8c214d2

Browse files
committed
build: enable shared libs in docker build
1 parent 0e69403 commit 8c214d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apk add --no-cache cmake ninja gcc musl-dev python3-dev pkgconfig
66

77
COPY . /pocketsphinx
88
WORKDIR /pocketsphinx
9-
RUN cmake -S . -B build -G Ninja && cmake --build build --target install
9+
RUN cmake -S . -B build -DBUILD_SHARED_LIBS=ON -G Ninja && cmake --build build --target install
1010
# Cannot use --build-option because pip sucks
1111
RUN CMAKE_ARGS="-DUSE_INSTALLED_POCKETSPHINX=ON" pip wheel -v .
1212

0 commit comments

Comments
 (0)