Skip to content

Commit 7a7a984

Browse files
committed
snap: Disable unused features to reduce snap size and built time
Signed-off-by: 林博仁(Buo-ren Lin) <[email protected]>
1 parent db818ac commit 7a7a984

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

snap/snapcraft.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ parts:
4040
- zlib1g
4141
after: [leptonica]
4242
autotools-configure-parameters:
43+
# Disable unused features to reduce snap size and built time
44+
- --disable-dependency-tracking
4345
- --disable-doc
46+
- --disable-static
4447
- --disable-training
4548
prime:
4649
- -usr/local/include
47-
- -usr/local/lib/*.a
48-
- -usr/local/lib/*.la
4950
- -usr/local/lib/pkgconfig
5051
- -usr/share/lintian
5152
- -usr/share/man

0 commit comments

Comments
 (0)