We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a01895 commit 39bd6d1Copy full SHA for 39bd6d1
1 file changed
images/packages/binaries/nftables/werf.inc.yaml
@@ -18,6 +18,7 @@ packages:
18
- gcc
19
- git pkg-config trousers
20
- automake autoconf make makeinfo libtool
21
+- musl-devel-static
22
- flex bison asciidoc-a2x
23
- tree
24
{{- end -}}
@@ -59,13 +60,20 @@ shell:
59
60
61
./autogen.sh
62
- ./configure --prefix=/usr --libdir=/usr/lib64 --enable-python --with-python-bin=/usr/bin/python3 --with-json --with-cli=readline
63
+ ./configure \
64
+ --prefix=/usr \
65
+ --libdir=/usr/lib64 \
66
+ --with-json \
67
+ --with-cli=readline \
68
+ --enable-static=yes \
69
+ CC=/usr/bin/musl-gcc
70
71
make -j$(nproc)
72
73
make DESTDIR=$OUTDIR install
74
75
strip $OUTDIR/usr/sbin/nft
76
+ ldd $OUTDIR/usr/sbin/nft
77
78
# We don't need man, test and samples files
79
rm -rf $OUTDIR/usr/include
0 commit comments