commit b4697ab
chld
·
2026-09-06 02:46:55 +0000 UTC
parent fea3b1e
gnutls: static gnutls-cli
1 files changed,
+3,
-2
+3,
-2
1@@ -28,8 +28,9 @@ build(){
2 --disable-largefile \
3 --enable-static \
4 --without-gnutls || die "configure failed"
5-
6- gmake CFLAGS='-static' LDFLAGS='-static' PREFIX="$PREFIX" DESTDIR="$PKG" || die "make failed"
7+
8+ sed -i 's/gcc/gcc -static/g' `find . -name Makefile -type f`
9+ gmake CFLAGS='-static' LDFLAGS='-static -all-static' PREFIX="$PREFIX" DESTDIR="$PKG" || die "make failed"
10 gmake CFLAGS='-static' LDFLAGS='-static' PREFIX="$PREFIX" DESTDIR="$PKG" install || die "install failed"
11 }
12